Exemplo n.º 1
0
 public AccelerationStructureGeometryInstancesDataKHR
 (
     StructureType sType              = StructureType.AccelerationStructureGeometryInstancesDataKhr,
     void *pNext                      = default,
     Bool32 arrayOfPointers           = default,
     DeviceOrHostAddressConstKHR data = default
 )
 {
     SType           = sType;
     PNext           = pNext;
     ArrayOfPointers = arrayOfPointers;
     Data            = data;
 }
Exemplo n.º 2
0
 public AccelerationStructureGeometryAabbsDataKHR
 (
     StructureType sType = StructureType.AccelerationStructureGeometryAabbsDataKhr,
     void *pNext         = default,
     DeviceOrHostAddressConstKHR data = default,
     ulong stride = default
 )
 {
     SType  = sType;
     PNext  = pNext;
     Data   = data;
     Stride = stride;
 }
 public CopyMemoryToAccelerationStructureInfoKHR
 (
     StructureType sType                   = StructureType.CopyMemoryToAccelerationStructureInfoKhr,
     void *pNext                           = default,
     DeviceOrHostAddressConstKHR src       = default,
     AccelerationStructureKHR dst          = default,
     CopyAccelerationStructureModeKHR mode = default
 )
 {
     SType = sType;
     PNext = pNext;
     Src   = src;
     Dst   = dst;
     Mode  = mode;
 }
Exemplo n.º 4
0
 public AccelerationStructureGeometryTrianglesDataKHR
 (
     StructureType sType = StructureType.AccelerationStructureGeometryTrianglesDataKhr,
     void *pNext         = default,
     Format vertexFormat = default,
     DeviceOrHostAddressConstKHR vertexData = default,
     ulong vertexStride  = default,
     IndexType indexType = default,
     DeviceOrHostAddressConstKHR indexData     = default,
     DeviceOrHostAddressConstKHR transformData = default
 )
 {
     SType         = sType;
     PNext         = pNext;
     VertexFormat  = vertexFormat;
     VertexData    = vertexData;
     VertexStride  = vertexStride;
     IndexType     = indexType;
     IndexData     = indexData;
     TransformData = transformData;
 }