Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Paradox.Effects.RenderMesh Class Reference

An effect mesh. More...

Inheritance diagram for SiliconStudio.Paradox.Effects.RenderMesh:
SiliconStudio.Paradox.Effects.DynamicEffectInstance

Public Member Functions

 RenderMesh (RenderModel renderModel, Mesh mesh)
 Initializes a new instance of the RenderMesh class. More...
 
void Draw (RenderContext context)
 Draw this effect mesh. More...
 
override void FillParameterCollections (IList< ParameterCollection > parameterCollections)
 Fills the parameter collections used by this instance. More...
 

Public Attributes

readonly RenderModel RenderModel
 The model instance associated to this effect mesh. More...
 
readonly Mesh Mesh
 The mesh associated with this instance. More...
 

Properties

bool Enabled [get, set]
 Enable or disable this particular effect mesh. More...
 
- Properties inherited from SiliconStudio.Paradox.Effects.DynamicEffectInstance
Effect Effect [get, set]
 Gets the effect currently being compiled. More...
 

Additional Inherited Members

- Protected Member Functions inherited from SiliconStudio.Paradox.Effects.DynamicEffectInstance
 DynamicEffectInstance ()
 

Detailed Description

An effect mesh.

Definition at line 14 of file RenderMesh.cs.

Constructor & Destructor Documentation

SiliconStudio.Paradox.Effects.RenderMesh.RenderMesh ( RenderModel  renderModel,
Mesh  mesh 
)

Initializes a new instance of the RenderMesh class.

Parameters
renderModelThe render model.
meshThe mesh data.
Exceptions
System.ArgumentNullExceptionmesh

Definition at line 35 of file RenderMesh.cs.

Member Function Documentation

void SiliconStudio.Paradox.Effects.RenderMesh.Draw ( RenderContext  context)

Draw this effect mesh.

Definition at line 52 of file RenderMesh.cs.

override void SiliconStudio.Paradox.Effects.RenderMesh.FillParameterCollections ( IList< ParameterCollection parameterCollections)
virtual

Fills the parameter collections used by this instance.

Parameters
parameterCollectionsThe parameter collections.

Implements SiliconStudio.Paradox.Effects.DynamicEffectInstance.

Definition at line 109 of file RenderMesh.cs.

References SiliconStudio.Paradox.Effects.Mesh.Material, and SiliconStudio.Paradox.Effects.Mesh.Parameters.

Member Data Documentation

readonly Mesh SiliconStudio.Paradox.Effects.RenderMesh.Mesh

The mesh associated with this instance.

Definition at line 27 of file RenderMesh.cs.

readonly RenderModel SiliconStudio.Paradox.Effects.RenderMesh.RenderModel

The model instance associated to this effect mesh.

The model instance.

Definition at line 22 of file RenderMesh.cs.

Property Documentation

bool SiliconStudio.Paradox.Effects.RenderMesh.Enabled
getset

Enable or disable this particular effect mesh.

Definition at line 47 of file RenderMesh.cs.


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