Class GenericMeshMaterialCore
- Namespace
- HelixToolkit.SharpDX.Model
- Assembly
- HelixToolkit.SharpDX.dll
[DataContract]
public sealed class GenericMeshMaterialCore : GenericMaterialCore, IMaterial, INotifyPropertyChanged
- Inheritance
-
GenericMeshMaterialCore
- Implements
- Inherited Members
- Extension Methods
Constructors
GenericMeshMaterialCore()
public GenericMeshMaterialCore()
GenericMeshMaterialCore(ShaderPass, string)
Initializes a new instance of the GenericMeshMaterialCore class.
public GenericMeshMaterialCore(ShaderPass shaderPass, string modelMaterialConstantBufferName)
Parameters
shaderPassShaderPassThe shader pass. Currently only supports pixel shader parameter properties
modelMaterialConstantBufferNamestringName of the model material constant buffer in pixel shader.
Methods
CreateMaterialVariables(IEffectsManager, IRenderTechnique)
Creates the material variables.
public override MaterialVariable CreateMaterialVariables(IEffectsManager manager, IRenderTechnique technique)
Parameters
managerIEffectsManagerThe manager.
techniqueIRenderTechniqueThe technique.