The XRenderGroup enumeration defines the render groups.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public enum XRenderGroup

Members

Member nameDescription
Min
First enumeration value - Camera.
Max
Last enumeration value - Text.
TransparentOffset
The offset for transparent basic G1, G2, G3 groups.
Camera
The camera demands to be rendered as first - it is necessary for it to set the projection transforms.
Light
The lights must be set prior to the vertex rendering to ensure the 3D faces will be lit correctly.
Background
Here can be rendered the background objects, like the XSkyBox.
G1
1st basic groups for nontransparent objects.
G2
2nd basic groups for nontransparent objects.
G3
3rd basic groups for nontransparent objects.
Main
Main render group of the nontransparent objects.
MainTransparent
Main render group of the transparent objects.
Sound
Settings of the 3D sound (XAudioSprite).
Text
Special rendering group for DirectX 2D texts XText2D.
Default
Default group.

Remarks

Every renderable object is assigned to one of the groups. Groups are rendered in the order starting with Camera group fo the Text group. Objects rendered later hides objects rendered earlier.

See Also