MCPcopy Index your code
hub / github.com/gpujs/gpu.js / getSampler2DTacticDeclaration

Method getSampler2DTacticDeclaration

src/backend/gl/kernel.js:809–811  ·  view source on GitHub ↗

* * @return {string}

()

Source from the content-addressed store, hash-verified

807 * @return {string}
808 */
809 getSampler2DTacticDeclaration() {
810 return `precision ${this.getVariablePrecisionString(this.texSize, this.tactic)} sampler2D;\n`;
811 }
812
813 getSampler2DArrayTacticDeclaration() {
814 return `precision ${this.getVariablePrecisionString(this.texSize, this.tactic)} sampler2DArray;\n`;

Callers 2

Calls 1

Tested by

no test coverage detected