Table of Contents

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

shaderPass ShaderPass

The shader pass. Currently only supports pixel shader parameter properties

modelMaterialConstantBufferName string

Name 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

manager IEffectsManager

The manager.

technique IRenderTechnique

The technique.

Returns

MaterialVariable