C# Class AcTools.Render.Kn5SpecificDeferred.Materials.Kn5MaterialDeferred

Inheritance: IRenderableMaterial, IEmissiveMaterial
Mostra file Open project: gro-ove/actools

Public Properties

Property Type Description
Drawed int

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 ( System.Vector3 value ) : void
SetEmissiveNext ( System.Vector3 value ) : void
SetMatrices ( System.Matrix objectTransform, ICamera camera ) : void

Protected Methods

Method Description
Kn5MaterialDeferred ( EffectDeferredGObject material, bool isBlending ) : System

Private Methods

Method Description
GetTexture ( string mappingName, DeviceContextHolder contextHolder ) : IRenderableTexture
Kn5MaterialDeferred ( [ kn5Filename, [ material ) : System

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

Kn5MaterialDeferred() protected method

protected Kn5MaterialDeferred ( EffectDeferredGObject material, bool isBlending ) : System
material AcTools.Render.Base.Shaders.EffectDeferredGObject
isBlending bool
return System

Prepare() public method

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

SetEmissive() public method

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

SetEmissiveNext() public method

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

SetMatrices() public method

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

Property Details

Drawed public_oe static_oe property

public static int Drawed
return int