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

Function getTexture

docs/app/js/sanddance-app.js:87227–87238  ·  view source on GitHub ↗
(gl)

Source from the content-addressed store, hash-verified

87225 });
87226}
87227function getTexture(gl) {
87228 return new (0, _core.Texture2D)(gl, {
87229 data: new Uint8Array(4),
87230 format: 6408,
87231 type: 5121,
87232 border: 0,
87233 mipmaps: false,
87234 dataFormat: 6408,
87235 width: 1,
87236 height: 1
87237 });
87238}
87239function getFramebuffer(gl, texture) {
87240 return new (0, _core.Framebuffer)(gl, {
87241 id: "spring-transition-is-transitioning-framebuffer",

Callers 1

GPUSpringTransition1Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected