Click or drag to resize
AB4D logo

SuperInstancedShader Class

SuperInstancedShader can render many instances of a mesh and support many different lights (Directional, Point, Spot and Ambient light).
Inheritance Hierarchy
SystemObject
  Ab3d.DirectXDXResourceBase
    Ab3d.DirectXSharedDXResource
      Ab3d.DirectXSharedDXDeviceResource
        Ab3d.DirectX.ShadersSuperInstancedShader

Namespace: Ab3d.DirectX.Shaders
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public class SuperInstancedShader : SharedDXDeviceResource

The SuperInstancedShader type exposes the following members.

Constructors
 NameDescription
Public methodSuperInstancedShader Constructor
Top
Methods
 NameDescription
Public methodApplyPerFrameSettings Sets per frame settings for this effect (this sets camera, lights and other per frame settings).
Public methodApplyShaders ApplyShaders binds the appropriate shaders and their constant buffers and sets the states.
Public methodSetMaterialConstantBuffer Sets constant buffers based on the specified Material and other properties.
Top
See Also