C# Класс AcTools.Render.Base.Utils.SlimDxExtension

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CreateBlendState ( this device, RenderTargetBlendDescription description ) : BlendState
DrawAllPasses ( this tech, DeviceContext context, int indexCount ) : void
ExtendBy ( this bb, BoundingBox next ) : BoundingBox
GetBrightness ( this vec ) : float
GetCenter ( this bb ) : System.Vector3
GetSize ( this bb ) : System.Vector3
GetTranslationVector ( this matrix ) : System.Vector3
GetXyz ( this vec ) : System.Vector3
Set ( EffectVariable variable, object o, int len ) : void
Set ( this variable, object o ) : void
Set_ ( EffectVariable variable, object o, int len ) : void
ToBoundingBox ( this vertices ) : BoundingBox
ToIndicesFixX ( this indices ) : ushort[]
ToMatrix ( this mat4x4 ) : System.Matrix
ToMatrixFixX ( this mat4x4 ) : System.Matrix
ToVector2 ( this vec2 ) : System.Vector2
ToVector3 ( this vec3 ) : System.Vector3
ToVector3FixX ( this vec3 ) : System.Vector3
ToVector3Tangent ( this vec3 ) : System.Vector3
Transform ( this bb, System.Matrix matrix ) : BoundingBox

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

CreateBlendState() публичный статический метод

public static CreateBlendState ( this device, RenderTargetBlendDescription description ) : BlendState
device this
description RenderTargetBlendDescription
Результат BlendState

DrawAllPasses() публичный статический метод

public static DrawAllPasses ( this tech, DeviceContext context, int indexCount ) : void
tech this
context DeviceContext
indexCount int
Результат void

ExtendBy() публичный статический метод

public static ExtendBy ( this bb, BoundingBox next ) : BoundingBox
bb this
next BoundingBox
Результат BoundingBox

GetBrightness() публичный статический метод

public static GetBrightness ( this vec ) : float
vec this
Результат float

GetCenter() публичный статический метод

public static GetCenter ( this bb ) : System.Vector3
bb this
Результат System.Vector3

GetSize() публичный статический метод

public static GetSize ( this bb ) : System.Vector3
bb this
Результат System.Vector3

GetTranslationVector() публичный статический метод

public static GetTranslationVector ( this matrix ) : System.Vector3
matrix this
Результат System.Vector3

GetXyz() публичный статический метод

public static GetXyz ( this vec ) : System.Vector3
vec this
Результат System.Vector3

Set() публичный статический метод

public static Set ( EffectVariable variable, object o, int len ) : void
variable EffectVariable
o object
len int
Результат void

Set() публичный статический метод

public static Set ( this variable, object o ) : void
variable this
o object
Результат void

Set_() публичный статический метод

public static Set_ ( EffectVariable variable, object o, int len ) : void
variable EffectVariable
o object
len int
Результат void

ToBoundingBox() публичный статический метод

public static ToBoundingBox ( this vertices ) : BoundingBox
vertices this
Результат BoundingBox

ToIndicesFixX() публичный статический метод

public static ToIndicesFixX ( this indices ) : ushort[]
indices this
Результат ushort[]

ToMatrix() публичный статический метод

public static ToMatrix ( this mat4x4 ) : System.Matrix
mat4x4 this
Результат System.Matrix

ToMatrixFixX() публичный статический метод

public static ToMatrixFixX ( this mat4x4 ) : System.Matrix
mat4x4 this
Результат System.Matrix

ToVector2() публичный статический метод

public static ToVector2 ( this vec2 ) : System.Vector2
vec2 this
Результат System.Vector2

ToVector3() публичный статический метод

public static ToVector3 ( this vec3 ) : System.Vector3
vec3 this
Результат System.Vector3

ToVector3FixX() публичный статический метод

public static ToVector3FixX ( this vec3 ) : System.Vector3
vec3 this
Результат System.Vector3

ToVector3Tangent() публичный статический метод

public static ToVector3Tangent ( this vec3 ) : System.Vector3
vec3 this
Результат System.Vector3

Transform() публичный статический метод

public static Transform ( this bb, System.Matrix matrix ) : BoundingBox
bb this
matrix System.Matrix
Результат BoundingBox