C# Class HaloMap.RawData.ParsedModel.DisplayedInfo

The displayed info.
显示文件 Open project: troymac1ure/Entity

Public Properties

Property Type Description
Chunk List
ShaderIndex int[]
indexBuffer IndexBuffer[]
meshes Mesh[]
vertexBuffer VertexBuffer[]

Public Methods

Method Description
Draw ( Device &device, ParsedModel pm ) : void

The draw.

DrawMeshes ( Device &device, ParsedModel pm ) : void

The draw meshes.

FindDisplayedPieces ( int lodlevel, ParsedModel pm ) : DisplayedInfo

The find displayed pieces.

LoadDirectXTexturesAndBuffers ( Device &device, ParsedModel &pm ) : void

The load direct x textures and buffers.

MakeMeshes ( Device &device, ParsedModel &pm ) : void

The make meshes.

Private Methods

Method Description
CreateIndexBuffers ( Device &device, ParsedModel &pm ) : void

The create index buffers.

CreateVertexBuffers ( Device &device, ParsedModel &pm ) : void

The create vertex buffers.

LoadShaderTextures ( Device &device, ParsedModel &pm ) : void

The load shader textures.

Method Details

Draw() public static method

The draw.
public static Draw ( Device &device, ParsedModel pm ) : void
device Device The device.
pm ParsedModel The pm.
return void

DrawMeshes() public static method

The draw meshes.
public static DrawMeshes ( Device &device, ParsedModel pm ) : void
device Device The device.
pm ParsedModel The pm.
return void

FindDisplayedPieces() public static method

The find displayed pieces.
public static FindDisplayedPieces ( int lodlevel, ParsedModel pm ) : DisplayedInfo
lodlevel int The lodlevel.
pm ParsedModel The pm.
return DisplayedInfo

LoadDirectXTexturesAndBuffers() public static method

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

MakeMeshes() public static method

The make meshes.
public static MakeMeshes ( Device &device, ParsedModel &pm ) : void
device Device The device.
pm ParsedModel The pm.
return void

Property Details

Chunk public_oe property

The chunk.
public List Chunk
return List

ShaderIndex public_oe property

The shader index.
public int[] ShaderIndex
return int[]

indexBuffer public_oe property

The index buffer.
public IndexBuffer[] indexBuffer
return IndexBuffer[]

meshes public_oe property

The meshes.
public Mesh[] meshes
return Mesh[]

vertexBuffer public_oe property

The vertex buffer.
public VertexBuffer[] vertexBuffer
return VertexBuffer[]