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

Function canCreateBufferTransform

docs/app/js/sanddance-app.js:77282–77285  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

77280 return Transform1;
77281}();
77282function canCreateBufferTransform(props) {
77283 if (!(0, _webgl.isObjectEmpty)(props.feedbackBuffers) || !(0, _webgl.isObjectEmpty)(props.feedbackMap) || props.varyings && props.varyings.length > 0) return true;
77284 return false;
77285}
77286function canCreateTextureTransform(props) {
77287 if (!(0, _webgl.isObjectEmpty)(props._sourceTextures) || props._targetTexture || props._targetTextureVarying) return true;
77288 return false;

Callers 1

sanddance-app.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected