MCPcopy Create free account
hub / github.com/microsoft/SandDance / getStride

Function getStride

docs/app/js/sanddance-app.js:85807–85809  ·  view source on GitHub ↗
(accessor)

Source from the content-addressed store, hash-verified

85805 return target;
85806}
85807function getStride(accessor) {
85808 return accessor.stride || accessor.size * accessor.bytesPerElement;
85809}
85810function resolveShaderAttribute(baseAccessor, shaderAttributeOptions) {
85811 if (shaderAttributeOptions.offset) (0, _logDefault.default).removed("shaderAttribute.offset", "vertexOffset, elementOffset")();
85812 var stride = getStride(baseAccessor);

Callers 2

resolveShaderAttributeFunction · 0.70
sanddance-app.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected