Click or drag to resize
AB4D logo

CommonUtils Methods

The CommonUtils type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCompareMatricesFast CompareMatricesFast compares two matrices and returns true if they are the same.
Public methodStatic memberGetPositionFromVertexBuffer<T> 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 GetPositionsFromVertexBuffer<T> (T[], Int32, Int32, Int32, Vector3, Vector3, Vector3) method.
Public methodStatic memberGetPositionsFromVertexBuffer<T> 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 GetPositionFromVertexBuffer<T> (T[], Int32) method.
Public methodStatic memberGetTextureSize GetTextureSize returns size of a ShaderResourceView.
Top
See Also