Space Engineers
Public Member Functions | Properties | List of all members
VRage.Render11.GeometryStage2.Model.MyPart Class Reference

Public Member Functions

MyShaderBundle GetShaderBundle (MyInstanceLodState state)
 
void SetInstanceMaterialOffset (int lodOffset)
 
void InitForGBuffer (MyLod parent, string name, string contentPath, MyMeshPartInfo mwmPartInfo, MyStandardMaterial standardMaterial, int startIndex, int indicesCount, int startVertex)
 
void InitForDepth (MyLod parent, string name, MyMeshDrawTechnique technique, int startIndex, int indicesCount, int startVertex)
 
void InitForHighlight (MyLod parent, string name, MyMeshDrawTechnique technique, int startIndex, int indicesCount, int startVertex)
 
void InitForGlass (MyLod parent, string name, MyGlassMaterial glassMaterial, MyMeshDrawTechnique technique, int startIndex, int indicesCount, int startVertex)
 

Properties

MyLod Parent [get]
 
string Name [get]
 
MyStandardMaterial StandardMaterial [get]
 
MyGlassMaterial GlassMaterial [get]
 
int InstanceMaterialOffsetInLod [get]
 
int StartIndex [get]
 
int IndicesCount [get]
 
int StartVertex [get]
 

Detailed Description

Definition at line 10 of file MyPart.cs.

Member Function Documentation

MyShaderBundle VRage.Render11.GeometryStage2.Model.MyPart.GetShaderBundle ( MyInstanceLodState  state)
inline

Definition at line 19 of file MyPart.cs.

void VRage.Render11.GeometryStage2.Model.MyPart.InitForDepth ( MyLod  parent,
string  name,
MyMeshDrawTechnique  technique,
int  startIndex,
int  indicesCount,
int  startVertex 
)
inline

Definition at line 82 of file MyPart.cs.

void VRage.Render11.GeometryStage2.Model.MyPart.InitForGBuffer ( MyLod  parent,
string  name,
string  contentPath,
MyMeshPartInfo  mwmPartInfo,
MyStandardMaterial  standardMaterial,
int  startIndex,
int  indicesCount,
int  startVertex 
)
inline

Definition at line 36 of file MyPart.cs.

void VRage.Render11.GeometryStage2.Model.MyPart.InitForGlass ( MyLod  parent,
string  name,
MyGlassMaterial  glassMaterial,
MyMeshDrawTechnique  technique,
int  startIndex,
int  indicesCount,
int  startVertex 
)
inline

Definition at line 132 of file MyPart.cs.

void VRage.Render11.GeometryStage2.Model.MyPart.InitForHighlight ( MyLod  parent,
string  name,
MyMeshDrawTechnique  technique,
int  startIndex,
int  indicesCount,
int  startVertex 
)
inline

Definition at line 103 of file MyPart.cs.

void VRage.Render11.GeometryStage2.Model.MyPart.SetInstanceMaterialOffset ( int  lodOffset)
inline

Definition at line 31 of file MyPart.cs.

Property Documentation

MyGlassMaterial VRage.Render11.GeometryStage2.Model.MyPart.GlassMaterial
get

Definition at line 15 of file MyPart.cs.

int VRage.Render11.GeometryStage2.Model.MyPart.IndicesCount
get

Definition at line 28 of file MyPart.cs.

int VRage.Render11.GeometryStage2.Model.MyPart.InstanceMaterialOffsetInLod
get

Definition at line 16 of file MyPart.cs.

string VRage.Render11.GeometryStage2.Model.MyPart.Name
get

Definition at line 13 of file MyPart.cs.

MyLod VRage.Render11.GeometryStage2.Model.MyPart.Parent
get

Definition at line 12 of file MyPart.cs.

MyStandardMaterial VRage.Render11.GeometryStage2.Model.MyPart.StandardMaterial
get

Definition at line 14 of file MyPart.cs.

int VRage.Render11.GeometryStage2.Model.MyPart.StartIndex
get

Definition at line 27 of file MyPart.cs.

int VRage.Render11.GeometryStage2.Model.MyPart.StartVertex
get

Definition at line 29 of file MyPart.cs.


The documentation for this class was generated from the following file: