C# Class dfRenderGroup, Void-Runner

Inheritance: MonoBehaviour
显示文件 Open project: NoScopeProductions/Void-Runner

Public Methods

Method Description
OnDestroy ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void

Private Methods

Method Description
GetRenderGroupForControl ( dfControl control ) : dfRenderGroup,

Returns the dfRenderGroup, if any, that is responsible for rendering the indicated control

GetRenderGroupForControl ( dfControl control, bool directlyAttachedOnly ) : dfRenderGroup,

Returns the dfRenderGroup, if any, that is responsible for rendering the indicated control

InvalidateGroupForControl ( dfControl control ) : void

Invalidates (marks as needing to be rendered again) the dfRenderGroup instance, if any, that is responsible for rendering the indicated control

OnDrawGizmos ( ) : void
OnValidate ( ) : void
Render ( Camera renderCamera, dfControl control, dfList occluders, dfList controlsRendered, uint checksum, float opacity ) : void
UpdateRenderQueue ( int &renderQueueBase ) : void

Updates the materials used to render this group, so that draw call order is maintained

compileMasterBuffer ( ) : dfRenderData,
getControlOccluder ( Rect &screenRect, dfControl control ) : Rect
getDrawCallBuffer ( Material material ) : dfRenderData,
getMaterialCount ( ) : int
initialize ( ) : void
isEmptyBuffer ( dfRenderData, buffer ) : bool
processRenderData ( dfRenderData, &buffer, dfRenderData, controlData, Bounds &bounds, Rect &screenRect, uint checksum, dfTriangleClippingRegion, clipInfo, bool &wasClipped ) : bool
renderControl ( dfRenderData, &buffer, dfControl control, uint checksum, float opacity ) : void
resetDrawCalls ( ) : void
setClipRegion ( dfControl control, Rect &screenRect ) : void
shaderEqual ( Shader lhs, Shader rhs ) : bool
textureEqual ( Texture lhs, Texture rhs ) : bool

Method Details

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void