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

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

Protected Properties

Property Type Description
Kn5Filename string
Kn5Material AcTools.Kn5File.Kn5Material

Public Methods

Method Description
Dispose ( ) : void
Draw ( DeviceContextHolder contextHolder, int indices, SpecialRenderMode mode ) : void
Initialize ( DeviceContextHolder contextHolder ) : void
Prepare ( DeviceContextHolder contextHolder, SpecialRenderMode mode ) : bool
SetMatrices ( System.Matrix objectTransform, ICamera camera ) : void

Protected Methods

Method Description
GetTexture ( string mappingName, DeviceContextHolder contextHolder ) : IRenderableTexture
PrepareStates ( DeviceContextHolder contextHolder, SpecialRenderMode mode ) : void

Private Methods

Method Description
Kn5MaterialSimpleBase ( [ 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

GetTexture() protected method

protected GetTexture ( string mappingName, DeviceContextHolder contextHolder ) : IRenderableTexture
mappingName string
contextHolder DeviceContextHolder
return IRenderableTexture

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

PrepareStates() protected method

protected PrepareStates ( DeviceContextHolder contextHolder, SpecialRenderMode mode ) : void
contextHolder DeviceContextHolder
mode SpecialRenderMode
return void

SetMatrices() public method

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

Property Details

Kn5Filename protected_oe property

protected string Kn5Filename
return string

Kn5Material protected_oe property

protected Kn5Material,AcTools.Kn5File Kn5Material
return AcTools.Kn5File.Kn5Material