MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / addTexture

Method addTexture

src/OpenColorIO/GpuShader.cpp:573–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

571}
572
573unsigned GenericGpuShaderDesc::addTexture(const char * textureName,
574 const char * samplerName,
575 unsigned width, unsigned height,
576 TextureType channel,
577 TextureDimensions dimensions,
578 Interpolation interpolation,
579 const float * values)
580{
581 return getImplGeneric()->addTexture(textureName, samplerName, width, height, channel,
582 dimensions, interpolation, values)
583 + getTextureBindingStart();
584}
585
586void GenericGpuShaderDesc::getTexture(unsigned index,
587 const char *& textureName,

Callers 4

bindPyGpuShaderDescFunction · 0.45
GetLut1DGPUShaderProgramFunction · 0.45
_Add_Reach_tableFunction · 0.45
_Add_Cusp_tableFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected