C# Class HaloMap.RawData.BSPModel.BSPDisplayedInfo

The bsp displayed info.
Inheritance: ParsedModel.DisplayedInfo
显示文件 Open project: troymac1ure/Entity

Public Methods

Method Description
CreateIndexBuffers ( Device &device, BSPModel &bsp ) : void

The create index buffers.

CreateVertexBuffers ( Device &device, BSPModel &bsp ) : void

The create vertex buffers.

Draw ( Device &device, BSPModel &bsp, bool Textured, Camera2 &cam, DXShader shaderx ) : void

The draw.

DrawCluster ( int rawindex, Color outlinecolor, Device &device, BSPModel &bsp, bool Textured, bool WireFrame, Camera2 &cam ) : void

The draw cluster.

FindDisplayedPieces ( ) : void

The find displayed pieces.

LoadDirectXTexturesAndBuffers ( Device &device, BSPModel &bsp ) : void

The load direct x textures and buffers.

LoadLightmapTextures ( Device &device, BSPModel &bsp ) : void

The load lightmap textures.

LoadShaderTextures ( Device &device, BSPModel &bsp ) : void

The load shader textures.

ResetTextureStates ( Device &device ) : void

The reset texture states.

Method Details

CreateIndexBuffers() public static method

The create index buffers.
public static CreateIndexBuffers ( Device &device, BSPModel &bsp ) : void
device Device The device.
bsp BSPModel The bsp.
return void

CreateVertexBuffers() public static method

The create vertex buffers.
public static CreateVertexBuffers ( Device &device, BSPModel &bsp ) : void
device Device The device.
bsp BSPModel The bsp.
return void

Draw() public static method

The draw.
public static Draw ( Device &device, BSPModel &bsp, bool Textured, Camera2 &cam, DXShader shaderx ) : void
device Device The device.
bsp BSPModel The bsp.
Textured bool The textured.
cam HaloMap.Render.Camera2 The cam.
shaderx HaloMap.H2MetaContainers.DXShader The shaderx.
return void

DrawCluster() public static method

The draw cluster.
public static DrawCluster ( int rawindex, Color outlinecolor, Device &device, BSPModel &bsp, bool Textured, bool WireFrame, Camera2 &cam ) : void
rawindex int The rawindex.
outlinecolor Color The outlinecolor.
device Device The device.
bsp BSPModel The bsp.
Textured bool The textured.
WireFrame bool The wire frame.
cam HaloMap.Render.Camera2 The cam.
return void

FindDisplayedPieces() public static method

The find displayed pieces.
public static FindDisplayedPieces ( ) : void
return void

LoadDirectXTexturesAndBuffers() public static method

The load direct x textures and buffers.
public static LoadDirectXTexturesAndBuffers ( Device &device, BSPModel &bsp ) : void
device Device The device.
bsp BSPModel The bsp.
return void

LoadLightmapTextures() public static method

The load lightmap textures.
public static LoadLightmapTextures ( Device &device, BSPModel &bsp ) : void
device Device The device.
bsp BSPModel The bsp.
return void

LoadShaderTextures() public static method

The load shader textures.
public static LoadShaderTextures ( Device &device, BSPModel &bsp ) : void
device Device The device.
bsp BSPModel The bsp.
return void

ResetTextureStates() public static method

The reset texture states.
public static ResetTextureStates ( Device &device ) : void
device Device The device.
return void