Space Engineers
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
VRageRender.MyRenderableComponent Class Reference
Inheritance diagram for VRageRender.MyRenderableComponent:
VRageRender.MyActorComponent

Public Member Functions

void SetGlobalEmissivity (float emissivity)
 
void UpdateColorEmissivity (int lod, string materialName, Color diffuse, float emissivity)
 

Protected Member Functions

void AssignShadersToProxy (MyRenderableProxy renderableProxy, MyStringId shaderMaterial, VertexLayoutId vertexLayoutId, MyShaderUnifiedFlags shaderFlags)
 
void SetLodShaders (int lodNum, MyShaderUnifiedFlags appendedFlags)
 
virtual void UpdateProxiesCustomAlpha ()
 
virtual void AddToRenderables ()
 
virtual bool MoveRenderableAABB ()
 
virtual void RemoveFromRenderables ()
 

Static Protected Member Functions

static unsafe int GetConstantBufferSize (MyRenderLod lod, bool skinningEnabled)
 

Protected Attributes

InstancingId m_instancing
 
MyCullProxy m_cullProxy
 
MyRenderLod[] m_lods
 
MyCullProxy[] m_renderableProxiesForLodTransition
 
int m_btreeProxy
 
int m_instanceCount
 
int m_startInstance
 
int m_lod
 
bool m_culled
 
float m_lodTransitionState
 
float m_lodTransitionStartDistance
 
bool m_lodBorder
 
bool m_isRenderedStandalone
 Is used in merge-instancing to indicate whether the owning actor has been merged. More...
 
bool m_colorEmissivityDirty = false
 
bool m_isGenericInstance = false
 

Detailed Description

Definition at line 237 of file MyRenderableComponent.cs.

Member Function Documentation

virtual void VRageRender.MyRenderableComponent.AddToRenderables ( )
inlineprotectedvirtual

Definition at line 1428 of file MyRenderableComponent.cs.

void VRageRender.MyRenderableComponent.AssignShadersToProxy ( MyRenderableProxy  renderableProxy,
MyStringId  shaderMaterial,
VertexLayoutId  vertexLayoutId,
MyShaderUnifiedFlags  shaderFlags 
)
inlineprotected

Definition at line 548 of file MyRenderableComponent.cs.

static unsafe int VRageRender.MyRenderableComponent.GetConstantBufferSize ( MyRenderLod  lod,
bool  skinningEnabled 
)
inlinestaticprotected

Definition at line 811 of file MyRenderableComponent.cs.

virtual bool VRageRender.MyRenderableComponent.MoveRenderableAABB ( )
inlineprotectedvirtual

Definition at line 1436 of file MyRenderableComponent.cs.

virtual void VRageRender.MyRenderableComponent.RemoveFromRenderables ( )
inlineprotectedvirtual

Definition at line 1444 of file MyRenderableComponent.cs.

void VRageRender.MyRenderableComponent.SetGlobalEmissivity ( float  emissivity)
inline

Definition at line 379 of file MyRenderableComponent.cs.

void VRageRender.MyRenderableComponent.SetLodShaders ( int  lodNum,
MyShaderUnifiedFlags  appendedFlags 
)
inlineprotected

Definition at line 581 of file MyRenderableComponent.cs.

void VRageRender.MyRenderableComponent.UpdateColorEmissivity ( int  lod,
string  materialName,
Color  diffuse,
float  emissivity 
)
inline

Definition at line 1047 of file MyRenderableComponent.cs.

virtual void VRageRender.MyRenderableComponent.UpdateProxiesCustomAlpha ( )
inlineprotectedvirtual

Definition at line 1076 of file MyRenderableComponent.cs.

Member Data Documentation

int VRageRender.MyRenderableComponent.m_btreeProxy
protected

Definition at line 252 of file MyRenderableComponent.cs.

bool VRageRender.MyRenderableComponent.m_colorEmissivityDirty = false
protected

Definition at line 271 of file MyRenderableComponent.cs.

bool VRageRender.MyRenderableComponent.m_culled
protected

Definition at line 258 of file MyRenderableComponent.cs.

MyCullProxy VRageRender.MyRenderableComponent.m_cullProxy
protected

Definition at line 248 of file MyRenderableComponent.cs.

int VRageRender.MyRenderableComponent.m_instanceCount
protected

Definition at line 254 of file MyRenderableComponent.cs.

InstancingId VRageRender.MyRenderableComponent.m_instancing
protected

Definition at line 247 of file MyRenderableComponent.cs.

bool VRageRender.MyRenderableComponent.m_isGenericInstance = false
protected

Definition at line 273 of file MyRenderableComponent.cs.

bool VRageRender.MyRenderableComponent.m_isRenderedStandalone
protected

Is used in merge-instancing to indicate whether the owning actor has been merged.

Definition at line 266 of file MyRenderableComponent.cs.

int VRageRender.MyRenderableComponent.m_lod
protected

Definition at line 257 of file MyRenderableComponent.cs.

bool VRageRender.MyRenderableComponent.m_lodBorder
protected

Definition at line 261 of file MyRenderableComponent.cs.

MyRenderLod [] VRageRender.MyRenderableComponent.m_lods
protected

Definition at line 249 of file MyRenderableComponent.cs.

float VRageRender.MyRenderableComponent.m_lodTransitionStartDistance
protected

Definition at line 260 of file MyRenderableComponent.cs.

float VRageRender.MyRenderableComponent.m_lodTransitionState
protected

Definition at line 259 of file MyRenderableComponent.cs.

MyCullProxy [] VRageRender.MyRenderableComponent.m_renderableProxiesForLodTransition
protected

Definition at line 250 of file MyRenderableComponent.cs.

int VRageRender.MyRenderableComponent.m_startInstance
protected

Definition at line 255 of file MyRenderableComponent.cs.


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