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

Inheritance: Kn5MaterialSimpleBase, IEmissiveMaterial
Mostrar archivo Open project: gro-ove/actools

Protected Properties

Property Type Description
Flags uint

Public Methods

Method Description
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

Private Methods

Method Description
Kn5MaterialSimple ( [ kn5Filename, [ material ) : AcTools.Kn5File

Method Details

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

Property Details

Flags protected_oe property

Should be set before Kn5MaterialSimple.Initialize()
protected uint Flags
return uint