DirectionalLightShaderSetMaterialConstantBuffer Method |
Sets the constent of the constant buffers based on the specified Material and other properties.
Namespace: Ab3d.DirectX.ShadersAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 1.0.5784.1040 (1.0.0.0)
Syntaxpublic void SetMaterialConstantBuffer(
Material material,
bool isBackFaceMaterial,
bool isWorldMatrixIdentity,
ref Matrix worldMatrix,
bool useTexture
)
Parameters
- material
- Type: Ab3d.DirectXMaterial
Material - isBackFaceMaterial
- Type: SystemBoolean
true if rendering back face material - isWorldMatrixIdentity
- Type: SystemBoolean
true if world matrix is identity - worldMatrix
- Type: Matrix
world matrix - useTexture
- Type: SystemBoolean
true if the material is using texture
Implements
IStandardShaderSetMaterialConstantBuffer(Material, Boolean, Boolean, Matrix, Boolean)
See Also