C# Класс AcTools.Render.Kn5SpecificDeferred.Materials.Kn5MaterialDeferred

Наследование: IRenderableMaterial, IEmissiveMaterial
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Drawed int

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
Kn5MaterialDeferred ( EffectDeferredGObject material, bool isBlending ) : System

Приватные методы

Метод Описание
GetTexture ( string mappingName, DeviceContextHolder contextHolder ) : IRenderableTexture
Kn5MaterialDeferred ( [ kn5Filename, [ material ) : System

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Draw() публичный Метод

public Draw ( DeviceContextHolder contextHolder, int indices, SpecialRenderMode mode ) : void
contextHolder DeviceContextHolder
indices int
mode SpecialRenderMode
Результат void

Initialize() публичный Метод

public Initialize ( DeviceContextHolder contextHolder ) : void
contextHolder DeviceContextHolder
Результат void

Kn5MaterialDeferred() защищенный Метод

protected Kn5MaterialDeferred ( EffectDeferredGObject material, bool isBlending ) : System
material AcTools.Render.Base.Shaders.EffectDeferredGObject
isBlending bool
Результат System

Prepare() публичный Метод

public Prepare ( DeviceContextHolder contextHolder, SpecialRenderMode mode ) : bool
contextHolder DeviceContextHolder
mode SpecialRenderMode
Результат bool

SetEmissive() публичный Метод

public SetEmissive ( System.Vector3 value ) : void
value System.Vector3
Результат void

SetEmissiveNext() публичный Метод

public SetEmissiveNext ( System.Vector3 value ) : void
value System.Vector3
Результат void

SetMatrices() публичный Метод

public SetMatrices ( System.Matrix objectTransform, ICamera camera ) : void
objectTransform System.Matrix
camera ICamera
Результат void

Описание свойств

Drawed публичное статическое свойство

public static int Drawed
Результат int