Barotrauma Client Doc
Barotrauma.LevelWallVertexBuffer Class Reference
Inheritance diagram for Barotrauma.LevelWallVertexBuffer:

Public Member Functions

 LevelWallVertexBuffer (VertexPositionTexture[] wallVertices, VertexPositionTexture[] wallEdgeVertices, Texture2D wallTexture, Texture2D edgeTexture, Color color)
 
void Append (VertexPositionTexture[] wallVertices, VertexPositionTexture[] wallEdgeVertices, Color color)
 
void Dispose ()
 

Public Attributes

VertexBuffer WallEdgeBuffer
 
readonly Texture2D WallTexture
 

Properties

bool IsDisposed [get]
 

Detailed Description

Definition at line 11 of file LevelRenderer.cs.

Constructor & Destructor Documentation

◆ LevelWallVertexBuffer()

Barotrauma.LevelWallVertexBuffer.LevelWallVertexBuffer ( VertexPositionTexture[]  wallVertices,
VertexPositionTexture[]  wallEdgeVertices,
Texture2D  wallTexture,
Texture2D  edgeTexture,
Color  color 
)

Definition at line 24 of file LevelRenderer.cs.

Member Function Documentation

◆ Append()

void Barotrauma.LevelWallVertexBuffer.Append ( VertexPositionTexture[]  wallVertices,
VertexPositionTexture[]  wallEdgeVertices,
Color  color 
)

Definition at line 45 of file LevelRenderer.cs.

◆ Dispose()

void Barotrauma.LevelWallVertexBuffer.Dispose ( )

Definition at line 62 of file LevelRenderer.cs.

Member Data Documentation

◆ WallEdgeBuffer

VertexBuffer Barotrauma.LevelWallVertexBuffer.WallEdgeBuffer

Definition at line 13 of file LevelRenderer.cs.

◆ WallTexture

readonly Texture2D Barotrauma.LevelWallVertexBuffer.WallTexture

Definition at line 14 of file LevelRenderer.cs.

Property Documentation

◆ IsDisposed

bool Barotrauma.LevelWallVertexBuffer.IsDisposed
get

Definition at line 18 of file LevelRenderer.cs.