webgpu: Support skinning on WebGPU (#9137)

BUGS = [436886048]
This commit is contained in:
Juan Caldas
2025-08-28 20:24:14 -04:00
committed by GitHub
parent 088900e6e0
commit 74ba3eb00c
7 changed files with 53 additions and 20 deletions

View File

@@ -174,6 +174,7 @@ int main(int argc, char** argv) {
.attribute(VertexAttribute::POSITION, 0, VertexBuffer::AttributeType::FLOAT2, 0, 12)
.attribute(VertexAttribute::COLOR, 0, VertexBuffer::AttributeType::UBYTE4, 8, 12)
.normalized(VertexAttribute::COLOR)
.advancedSkinning(true)
.build(*engine);
app.vb2->setBufferAt(*engine, 0,
VertexBuffer::BufferDescriptor(TRIANGLE_VERTICES, 36, nullptr));