Class GenericLineMaterialCore
- Namespace
- HelixToolkit.SharpDX.Model
- Assembly
- HelixToolkit.SharpDX.dll
[DataContract]
public sealed class GenericLineMaterialCore : GenericMaterialCore, IMaterial, INotifyPropertyChanged
- Inheritance
-
GenericLineMaterialCore
- Implements
- Inherited Members
- Extension Methods
Constructors
GenericLineMaterialCore()
public GenericLineMaterialCore()
GenericLineMaterialCore(ShaderPass, string)
Initializes a new instance of the GenericLineMaterialCore class.
public GenericLineMaterialCore(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.