GLTFPrimitive

class GLTFPrimitive(val indices: GLTFAccessor?, val positions: GLTFAccessor, val normals: GLTFAccessor?, val texcoords: List<GLTFAccessor>, val material: GLTFMaterial, val topology: GLTFRenderMode)

Constructors

Link copied to clipboard
constructor(indices: GLTFAccessor?, positions: GLTFAccessor, normals: GLTFAccessor?, texcoords: List<GLTFAccessor>, material: GLTFMaterial, topology: GLTFRenderMode)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun buildRenderBundle(device: Device, shaderCache: ShaderCache, bindGroupLayouts: Array<BindGroupLayout>, bundleEncoder: RenderBundleEncoder, swapChainFormat: TextureFormat, depthFormat: TextureFormat)