C# Class AcTools.Render.Kn5SpecificForward.Materials.Kn5MaterialSimpleMirror

Inheritance: IRenderableMaterial, IEmissiveMaterial
显示文件 Open project: gro-ove/actools

Public Methods

Method Description
Dispose ( ) : void
Draw ( DeviceContextHolder contextHolder, int indices, SpecialRenderMode mode ) : void
Initialize ( DeviceContextHolder contextHolder ) : void
Prepare ( DeviceContextHolder contextHolder, SpecialRenderMode mode ) : bool
SetEmissive ( Vector3 value ) : void
SetEmissiveNext ( Vector3 value ) : void
SetMatrices ( Matrix objectTransform, ICamera camera ) : void

Private Methods

Method Description
Kn5MaterialSimpleMirror ( ) : AcTools.Render.Base

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Draw() public method

public Draw ( DeviceContextHolder contextHolder, int indices, SpecialRenderMode mode ) : void
contextHolder DeviceContextHolder
indices int
mode SpecialRenderMode
return void

Initialize() public method

public Initialize ( DeviceContextHolder contextHolder ) : void
contextHolder DeviceContextHolder
return void

Prepare() public method

public Prepare ( DeviceContextHolder contextHolder, SpecialRenderMode mode ) : bool
contextHolder DeviceContextHolder
mode SpecialRenderMode
return bool

SetEmissive() public method

public SetEmissive ( Vector3 value ) : void
value Vector3
return void

SetEmissiveNext() public method

public SetEmissiveNext ( Vector3 value ) : void
value Vector3
return void

SetMatrices() public method

public SetMatrices ( Matrix objectTransform, ICamera camera ) : void
objectTransform Matrix
camera ICamera
return void