Class DX12Helpers
A set of helper functions for DX12.
Inherited Members
Namespace: Evergine.DirectX12
Assembly: Evergine.DirectX12.dll
Syntax
public static class DX12Helpers
  Methods
EnsureArraySize<T>(ref T[], int)
Ensure the array size.
Declaration
public static void EnsureArraySize<T>(ref T[] array, int size)
  Parameters
| Type | Name | Description | 
|---|---|---|
| T[] | array | The array object.  | 
      
| int | size | The array size to check.  | 
      
Type Parameters
| Name | Description | 
|---|---|
| T | The array type.  | 
      
ToMatrix3x4(Matrix4x4)
Convert from Matrix4x4 to Matrix3x4.
Declaration
public static Matrix3x4 ToMatrix3x4(this Matrix4x4 m)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Matrix4x4 | m | Evergine Matrix4x4.  | 
      
Returns
| Type | Description | 
|---|---|
| Matrix3x4 | DX12 matrix3x4.  |