Method | Description | |
---|---|---|
CheckVersion ( ) : bool |
Checks the D3DX runtime version against this compiled version.
|
|
DebugMute ( bool mute ) : bool |
Get and set debug mute mode.
|
|
DeclaratorFromFVF ( VertexFormat fvf ) : SharpDX.Direct3D9.VertexElement[] |
Converts a declarator from a flexible vertex format (FVF) code.
|
|
FVFFromDeclarator ( SharpDX.Direct3D9.VertexElement declarator ) : VertexFormat |
Converts a flexible vertex format (FVF) code from a declarator.
|
|
GenerateOutputDeclaration ( SharpDX.Direct3D9.VertexElement declaration ) : SharpDX.Direct3D9.VertexElement[] |
Generates an output vertex declaration from the input declaration. The output declaration is intended for use by the mesh tessellation functions.
|
|
GetDeclarationLength ( SharpDX.Direct3D9.VertexElement declaration ) : int |
Gets the number of elements in the vertex declaration.
|
|
GetDeclarationVertexSize ( SharpDX.Direct3D9.VertexElement elements, int stream ) : int |
Gets the size of a vertex from the vertex declaration.
|
|
GetFVFVertexSize ( VertexFormat fvf ) : int |
Returns the size of a vertex for a flexible vertex format (FVF).
|
|
GetRectanglePatchSize ( float segmentCount, int &triangleCount, int &vertexCount ) : System.Result |
Gets the size of the rectangle patch.
|
|
GetTrianglePatchSize ( float segmentCount, int &triangleCount, int &vertexCount ) : System.Result |
Gets the size of the triangle patch.
|
|
GetVectors ( DataStream stream, int vertexCount, VertexFormat format ) : SharpDX.Mathematics.Interop.RawVector3[] |
Gets an array of RawVector3 from a DataStream.
|
|
GetVectors ( DataStream stream, int vertexCount, int stride ) : SharpDX.Mathematics.Interop.RawVector3[] |
Gets an array of RawVector3 from a DataStream.
|
|
MakeFourCC ( byte c1, byte c2, byte c3, byte c4 ) : Format |
Creates a FOURCC Format code from bytes description.
|
|
OptimizeFaces ( int indices, int faceCount, int vertexCount ) : int[] |
Generates an optimized vertex remapping for a triangle list. This function is commonly used after applying the face remapping generated by D3DXOptimizeFaces.
|
|
OptimizeFaces ( short indices, int faceCount, int vertexCount ) : int[] |
Generates an optimized face remapping for a triangle list.
|
|
OptimizeVertices ( int indices, int faceCount, int vertexCount ) : int[] |
Generates an optimized vertex remapping for a triangle list. This function is commonly used after applying the face remapping generated by OptimizeFaces(int[],int,int).
|
|
OptimizeVertices ( short indices, int faceCount, int vertexCount ) : int[] |
Generates an optimized vertex remapping for a triangle list. This function is commonly used after applying the face remapping generated by OptimizeFaces(short[],int,int).
|
public static DebugMute ( bool mute ) : bool | ||
mute | bool | if set to |
return | bool |
public static DeclaratorFromFVF ( VertexFormat fvf ) : SharpDX.Direct3D9.VertexElement[] | ||
fvf | VertexFormat | Combination of |
return | SharpDX.Direct3D9.VertexElement[] |
public static FVFFromDeclarator ( SharpDX.Direct3D9.VertexElement declarator ) : VertexFormat | ||
declarator | SharpDX.Direct3D9.VertexElement | The declarator array. |
return | VertexFormat |
public static GenerateOutputDeclaration ( SharpDX.Direct3D9.VertexElement declaration ) : SharpDX.Direct3D9.VertexElement[] | ||
declaration | SharpDX.Direct3D9.VertexElement | The input declaration. |
return | SharpDX.Direct3D9.VertexElement[] |
public static GetDeclarationLength ( SharpDX.Direct3D9.VertexElement declaration ) : int | ||
declaration | SharpDX.Direct3D9.VertexElement | The declaration. |
return | int |
public static GetDeclarationVertexSize ( SharpDX.Direct3D9.VertexElement elements, int stream ) : int | ||
elements | SharpDX.Direct3D9.VertexElement | The elements. |
stream | int | The stream. |
return | int |
public static GetFVFVertexSize ( VertexFormat fvf ) : int | ||
fvf | VertexFormat | The vertex format. |
return | int |
public static GetRectanglePatchSize ( float segmentCount, int &triangleCount, int &vertexCount ) : System.Result | ||
segmentCount | float | The segment count. |
triangleCount | int | The triangle count. |
vertexCount | int | The vertex count. |
return | System.Result |
public static GetTrianglePatchSize ( float segmentCount, int &triangleCount, int &vertexCount ) : System.Result | ||
segmentCount | float | The segment count. |
triangleCount | int | The triangle count. |
vertexCount | int | The vertex count. |
return | System.Result |
public static GetVectors ( DataStream stream, int vertexCount, VertexFormat format ) : SharpDX.Mathematics.Interop.RawVector3[] | ||
stream | DataStream | The stream. |
vertexCount | int | The vertex count. |
format | VertexFormat | The format. |
return | SharpDX.Mathematics.Interop.RawVector3[] |
public static GetVectors ( DataStream stream, int vertexCount, int stride ) : SharpDX.Mathematics.Interop.RawVector3[] | ||
stream | DataStream | The stream. |
vertexCount | int | The vertex count. |
stride | int | The stride. |
return | SharpDX.Mathematics.Interop.RawVector3[] |
public static MakeFourCC ( byte c1, byte c2, byte c3, byte c4 ) : Format | ||
c1 | byte | The c1. |
c2 | byte | The c2. |
c3 | byte | The c3. |
c4 | byte | The c4. |
return | Format |
public static OptimizeFaces ( int indices, int faceCount, int vertexCount ) : int[] | ||
indices | int | The indices. |
faceCount | int | The face count. |
vertexCount | int | The vertex count. |
return | int[] |
public static OptimizeFaces ( short indices, int faceCount, int vertexCount ) : int[] | ||
indices | short | The indices. |
faceCount | int | The face count. |
vertexCount | int | The vertex count. |
return | int[] |
public static OptimizeVertices ( int indices, int faceCount, int vertexCount ) : int[] | ||
indices | int | The indices. |
faceCount | int | The face count. |
vertexCount | int | The vertex count. |
return | int[] |
public static OptimizeVertices ( short indices, int faceCount, int vertexCount ) : int[] | ||
indices | short | The indices. |
faceCount | int | The face count. |
vertexCount | int | The vertex count. |
return | int[] |