Click or drag to resize
AB4D logo

SuperShaderApplyMaterial 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.0.8865.1045
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