VkAccelerationStructureGeometryTrianglesDataKHR | NVK Search
  1. No Results
Categories
VkAccelerationStructureGeometryTrianglesDataKHR Structure specifying a triangle geometry in a bottom-level acceleration structure Syntax
accelerationStructureGeometryTrianglesDataKHR = VkAccelerationStructureGeometryTrianglesDataKHR();
accelerationStructureGeometryTrianglesDataKHR = new VkAccelerationStructureGeometryTrianglesDataKHR();
accelerationStructureGeometryTrianglesDataKHR = new VkAccelerationStructureGeometryTrianglesDataKHR(object);
Stub Parameters object When instantiated with an object, members can be filled directly. Properties VkAccelerationStructureGeometryTrianglesDataKHR.prototype.sType VkStructureType is the type of this structure. VkAccelerationStructureGeometryTrianglesDataKHR.prototype.pNext null is null or a reference to a structure extending this structure. VkAccelerationStructureGeometryTrianglesDataKHR.prototype.vertexFormat VkFormat is the VkFormat of each vertex element. VkAccelerationStructureGeometryTrianglesDataKHR.prototype.vertexData VkDeviceOrHostAddressConstKHR is a device or host address to memory containing vertex data for this geometry. VkAccelerationStructureGeometryTrianglesDataKHR.prototype.vertexStride BigInt Number is the stride in bytes between each vertex. VkAccelerationStructureGeometryTrianglesDataKHR.prototype.maxVertex Number is the highest index of a vertex that will be addressed by a build command using this structure. VkAccelerationStructureGeometryTrianglesDataKHR.prototype.indexType VkIndexType is the VkIndexType of each index element. VkAccelerationStructureGeometryTrianglesDataKHR.prototype.indexData VkDeviceOrHostAddressConstKHR is a device or host address to memory containing index data for this geometry. VkAccelerationStructureGeometryTrianglesDataKHR.prototype.transformData VkDeviceOrHostAddressConstKHR is a device or host address to memory containing an optional reference to a VkTransformMatrixKHR structure defining a transformation that should be applied to vertices in this geometry. Default Properties VkAccelerationStructureGeometryTrianglesDataKHR.prototype.memoryBuffer ArrayBuffer Native memory reference of the structure. VkAccelerationStructureGeometryTrianglesDataKHR.memoryLayout Object Object describing the structure's memory layout. VkAccelerationStructureGeometryTrianglesDataKHR.byteLength Number Total native byte length of the structure. Internal Properties These properties are mainly used by nvk internally. VkAccelerationStructureGeometryTrianglesDataKHR.reset Resets the native memory of the structure. VkAccelerationStructureGeometryTrianglesDataKHR.flush Writes the structure's data into the native memory. VkAccelerationStructureGeometryTrianglesDataKHR.reflect Synchronizes the structure's data with the native memory.