Click or drag to resize
AB4D logo

DirectionalLightShaderApplyMaterial Method

Sets the content of the constant buffers based on the specified Material and other properties.

Namespace: Ab3d.DirectX.Shaders
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public void ApplyMaterial(
	Material material,
	RenderablePrimitiveBase renderableGeometry
)

Parameters

material  Material
Material
renderableGeometry  RenderablePrimitiveBase
object that the material is applied for (usually RenderablePrimitive)

Implements

IStandardShaderApplyMaterial(Material, RenderablePrimitiveBase)
See Also