C# Class idTech4.Renderer.Surface

Inheritance: IDisposable
Show 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 property

public VertexCache,idTech4.Renderer AmbientCache
return VertexCache

AmbientViewCount public property

public int AmbientViewCount
return int

Bounds public property

Used for culling.
public idBounds Bounds
return idBounds

GenerateNormals public property

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

IndexCache public property

public VertexCache,idTech4.Renderer IndexCache
return VertexCache

Indexes public property

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

ShadowCapPlaneBits public 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 property

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

ShadowIndexesNoFrontCapsCount public property

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

ShadowVertices public 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 property

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