MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / get_attribute_size

Function get_attribute_size

framework/gltf_loader.cpp:135–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133};
134
135inline size_t get_attribute_size(const tinygltf::Model *model, uint32_t accessorId)
136{
137 assert(accessorId < model->accessors.size());
138 return model->accessors[accessorId].count;
139};
140
141inline size_t get_attribute_stride(const tinygltf::Model *model, uint32_t accessorId)
142{

Callers 2

load_sceneMethod · 0.85
load_modelMethod · 0.85

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected