class
cSkinnerTexturePainter
Public functions
- auto StartRender() -> void
- Call before doing an editing action on this texture.
- auto EndRender() -> void
- Call to finish an editing action on this texture.
- auto SetColorWriteEnable(bool red, bool green, bool blue, bool alpha) -> void
- Sets which channels will be written in the next painting operation; those with false will not change.
-
auto SetMaterial(uint32_
t materialID) -> void -
auto AddCustomParams(int index,
const Math::
ColorRGBA& param) -> void -
auto AddRaster(int index,
RenderWare::
Raster* raster) -> void -
auto Clear(const Math::
ColorRGB& color, float alpha) -> void - Removes all contents of this texture and replaces them with a clear background of the specified color.
- auto PaintRegion(const Vector2& uv1, const Vector2& uv2, int index = -1) -> void
-
auto GetRaster() -> RenderWare::
Raster* - Returns the underlying raster of this texture.
-
auto LoadMaterial() -> RenderWare::
CompiledState*
Public variables
Function documentation
void Skinner:: cSkinnerTexturePainter:: Clear(const Math:: ColorRGB& color,
float alpha)
Removes all contents of this texture and replaces them with a clear background of the specified color.
Parameters | |
---|---|
color | |
alpha |