class
cSkinPainterJobBase class for tasks executed in the process of generating a skinpaint texture.
Since the graphics renderer is needed, the process is broken down into small tasks that get executed at the end of each frame. The only method subclasses have to change is SkinPainterTask::Execute(). The process continues if Execute() returns true; if it returns false, it will repeat executing until it returns true.
Base classes
- class Graphics::ILayer
- This interfaces defines a layer that is rendered every game loop, by callings its ILayer::
DrawLayer() method. - class RefCountTemplateAtomic
Derived classes
- class cSkinPainterJobAmbientOcclusion
- class cSkinPainterJobApplyBrushes
- class cSkinPainterJobBumpToNormal
- Transforms a bump map in skinner texture 0 into a normal map in skinner texture 2.
- class cSkinPainterJobColorDilateRepeat
- class cSkinPainterJobCopyRigblocksTintMaskAlpha
- Copies the alpha channel of all rigblocks tint mask texture into the alpha channel texture 0.
- class cSkinPainterJobCopyTex1AlphaToTex0
- Copies the alpha channel of skinner texture 1 into the alpha channel of skinner texture 0.
- class cSkinPainterJobExtractTexture
- class cSkinPainterJobPaintParts
- Applies the diffuse, bumpSpec and tintMask maps of all rigblocks.
Constructors, destructors, conversion operators
Public functions
- auto AddRef() -> int override
- auto Release() -> int override
-
auto DrawLayer(int flags,
int layerIndex,
App::
cViewer** viewers, Graphics:: RenderStatistics& statistics) -> void override - Renders this layer.
- auto Initialize() -> void virtual
- If
mHasFinished
is false, it adds this task as a post-render job (with budget 10) in the Renderer. - auto Execute() -> bool virtual
- Executes the main function of this task.
Public variables
Function documentation
void Skinner:: cSkinPainterJob:: DrawLayer(int flags,
int layerIndex,
App:: cViewer** viewers,
Graphics:: RenderStatistics& statistics) override
Renders this layer.
Parameters | |
---|---|
flags | The flags this layer was registered with, combined with the global render flags. |
layerIndex | The layer index this layer was registered with. |
viewers | |
statistics |