|
void | ResetGraph () |
| Free up all the memory and clear the lists.
|
|
void | BeginMask (bool isMaskingEnabled, bool useAlphaTest, bool drawBehind, bool drawInFront) override |
| Begin the setup of a mask render node, primitives added between this call and StartChildrenForMask define the mask.
|
|
void | StartChildrenForMask () override |
| Start defining the children (masked primitives) of a mask.
|
|
void | EndMask () override |
| End the setup of a mask render node, this marks the end of adding child primitives.
|
|
void | BeginRenderToTexture (AZ::Data::Instance< AZ::RPI::AttachmentImage > attachmentImage, const AZ::Vector2 &viewportTopLeft, const AZ::Vector2 &viewportSize, const AZ::Color &clearColor) override |
| Begin rendering to a texture.
|
|
void | EndRenderToTexture () override |
| End rendering to a texture.
|
|
LyShine::UiPrimitive * | GetDynamicQuadPrimitive (const AZ::Vector2 *positions, uint32 packedColor) override |
|
bool | IsRenderingToMask () const override |
| Get flag that indicates we are rendering into a mask. Used to avoid masks on child mask elements.
|
|
void | SetIsRenderingToMask (bool isRenderingToMask) override |
| Set flag that we are rendering into a mask. Used to avoid masks on child mask elements.
|
|
void | PushAlphaFade (float alphaFadeValue) override |
| Push an alpha fade, this is multiplied with any existing alpha fade from parents.
|
|
void | PushOverrideAlphaFade (float alphaFadeValue) override |
| Push a new alpha fade value, this replaces any existing alpha fade.
|
|
void | PopAlphaFade () override |
| Pop an alpha fade off the stack.
|
|
float | GetAlphaFade () const override |
| Get the current alpha fade value.
|
|
void | AddPrimitive (LyShine::UiPrimitive *primitive, const AZ::Data::Instance< AZ::RPI::Image > &texture, bool isClampTextureMode, bool isTextureSRGB, bool isTexturePremultipliedAlpha, BlendMode blendMode) override |
| Add an indexed triangle list primitive to the render graph with given render state.
|
|
void | AddAlphaMaskPrimitive (LyShine::UiPrimitive *primitive, AZ::Data::Instance< AZ::RPI::AttachmentImage > contentAttachmentImage, AZ::Data::Instance< AZ::RPI::AttachmentImage > maskAttachmentImage, bool isClampTextureMode, bool isTextureSRGB, bool isTexturePremultipliedAlpha, BlendMode blendMode) override |
| Add an indexed triangle list primitive to the render graph which will use maskTexture as an alpha (gradient) mask.
|
|
void | Render (UiRenderer *uiRenderer, const AZ::Vector2 &viewportSize) |
| Render the display graph.
|
|
void | SetDirtyFlag (bool isDirty) |
| Set the dirty flag - this also resets the graph.
|
|
bool | GetDirtyFlag () |
| Get the dirty flag.
|
|
void | FinalizeGraph () |
| End the building of the graph.
|
|
bool | IsEmpty () |
| Test whether the render graph contains any render nodes.
|
|
void | GetRenderTargetsAndDependencies (LyShine::AttachmentImagesAndDependencies &attachmentImagesAndDependencies) |
|
void | ValidateGraph () |
|
void | GetDebugInfoRenderGraph (LyShineDebug::DebugInfoRenderGraph &info) const |
|
void | GetDebugInfoRenderNodeList (const AZStd::vector< RenderNode * > &renderNodeList, LyShineDebug::DebugInfoRenderGraph &info, AZStd::set< AZ::Data::Instance< AZ::RPI::Image >> &uniqueTextures) const |
|
void | DebugReportDrawCalls (AZ::IO::HandleType fileHandle, LyShineDebug::DebugInfoDrawCallReport &reportInfo, void *context) const |
|
void | DebugReportDrawCallsRenderNodeList (const AZStd::vector< RenderNode * > &renderNodeList, AZ::IO::HandleType fileHandle, LyShineDebug::DebugInfoDrawCallReport &reportInfo, void *context, const AZStd::string &indent) const |
|
virtual | ~IRenderGraph () |
| Virtual destructor.
|
|