Click or drag to resize
AB4D logo

CommonUtils Class

CommonUtils class defines a few static utility methods.
Inheritance Hierarchy
SystemObject
  Ab3d.DirectXCommonUtils

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public static class CommonUtils

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 memberGetPositionFromVertexBufferT 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.
Public methodStatic memberGetPositionsFromVertexBufferT 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.
Public methodStatic memberGetTextureSize GetTextureSize returns size of a ShaderResourceView.
Top
See Also