Common |
public static class CommonUtils
The CommonUtils type exposes the following members.
Name | Description | |
---|---|---|
CompareMatricesFast | CompareMatricesFast compares two matrices and returns true if they are the same. | |
GetPositionFromVertexBufferT | Gets a single position from the specified vertex buffer array. If vertex buffer type is not supported (not defined by DXEngine) then an exception is thrown. To get 3 positions use the GetPositionsFromVertexBufferT(T, Int32, Int32, Int32, Vector3, Vector3, Vector3) method. | |
GetPositionsFromVertexBufferT | Gets 3 positions from the specified vertex buffer array. If vertex buffer type is not supported (not defined by DXEngine) then an exception is thrown. To get a single position use the GetPositionFromVertexBufferT(T, Int32) method. | |
GetTextureSize | GetTextureSize returns size of a ShaderResourceView. |