Space Engineers
Static Public Member Functions | List of all members
VRageRender.MyMeshMaterials1 Class Reference

Static Public Member Functions

static MyMeshMaterialInfo ConvertImportDescToMeshMaterialInfo (MyMaterialDescriptor importDesc, string contentPath, string assetFile=null)
 
static MyFileTextureEnum GetMaterialTextureTypes (string colorMetalTexture, string normalGlossTexture, string extensionTexture, string alphamaskTexture)
 
static ShaderMacro[] GetMaterialTextureMacros (MyFileTextureEnum textures)
 Get macro bundles for texture types More...
 
static void BindMaterialTextureBlendStates (MyRenderContext rc, MyFileTextureEnum textures, bool premultipliedAlpha)
 Bind blend states for alpha blending More...
 

Detailed Description

Definition at line 177 of file MeshMaterial.cs.

Member Function Documentation

static void VRageRender.MyMeshMaterials1.BindMaterialTextureBlendStates ( MyRenderContext  rc,
MyFileTextureEnum  textures,
bool  premultipliedAlpha 
)
inlinestatic

Bind blend states for alpha blending

Definition at line 459 of file MeshMaterial.cs.

static MyMeshMaterialInfo VRageRender.MyMeshMaterials1.ConvertImportDescToMeshMaterialInfo ( MyMaterialDescriptor  importDesc,
string  contentPath,
string  assetFile = null 
)
inlinestatic

Definition at line 295 of file MeshMaterial.cs.

static ShaderMacro [] VRageRender.MyMeshMaterials1.GetMaterialTextureMacros ( MyFileTextureEnum  textures)
inlinestatic

Get macro bundles for texture types

Definition at line 439 of file MeshMaterial.cs.

static MyFileTextureEnum VRageRender.MyMeshMaterials1.GetMaterialTextureTypes ( string  colorMetalTexture,
string  normalGlossTexture,
string  extensionTexture,
string  alphamaskTexture 
)
inlinestatic

Definition at line 419 of file MeshMaterial.cs.


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