C# Class idTech4.Renderer.Surface

Inheritance: IDisposable
Mostra file Open project: iainmckay/idtech4.net Class Usage Examples

Public Properties

Property Type Description
AmbientCache VertexCache
AmbientViewCount int
Bounds idBounds
GenerateNormals bool
IndexCache VertexCache
Indexes int[]
ShadowCapPlaneBits int
ShadowIndexesNoCapsCount int
ShadowIndexesNoFrontCapsCount int
ShadowVertices idTech4.Renderer.ShadowVertex[]
Vertices idTech4.Renderer.Vertex[]

Public Methods

Method Description
Dispose ( ) : void

Private Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Property Details

AmbientCache public_oe property

public VertexCache,idTech4.Renderer AmbientCache
return VertexCache

AmbientViewCount public_oe property

public int AmbientViewCount
return int

Bounds public_oe property

Used for culling.
public idBounds Bounds
return idBounds

GenerateNormals public_oe property

Create normals from geometry, instead of using explicit ones.
public bool GenerateNormals
return bool

IndexCache public_oe property

public VertexCache,idTech4.Renderer IndexCache
return VertexCache

Indexes public_oe property

For shadows, this has both front and rear end caps and silhouette planes.
public int[] Indexes
return int[]

ShadowCapPlaneBits public_oe property

Plane flags.
Bits 0-5 are set when that plane of the interacting light has triangles projected on it, which means that if the view is on the outside of that plane, we need to draw the rear caps of the shadow volume turboShadows will have SHADOW_CAP_INFINITE.
public int ShadowCapPlaneBits
return int

ShadowIndexesNoCapsCount public_oe property

Shadow volumes with the front and rear caps omitted.
public int ShadowIndexesNoCapsCount
return int

ShadowIndexesNoFrontCapsCount public_oe property

Shadow volumes with front caps omitted.
public int ShadowIndexesNoFrontCapsCount
return int

ShadowVertices public_oe property

These will be copied to shadowCache when it is going to be drawn.
NULL when vertex programs are available.
public ShadowVertex[],idTech4.Renderer ShadowVertices
return idTech4.Renderer.ShadowVertex[]

Vertices public_oe property

public Vertex[],idTech4.Renderer Vertices
return idTech4.Renderer.Vertex[]