Variable: CreateTexture
constCreateTexture:object
Defined in: create-texture.ts:15
The base shader module for a render pipeline: samples a single input
texture into color so subsequent modules can transform it. Use this
when no decoding step (e.g. CompositeBands) is needed.
Type Declaration
getUniforms
readonlygetUniforms: (props) =>object
Parameters
props
Partial<CreateTextureProps>
Returns
object
textureName
textureName:
Texture|undefined=props.textureName
inject
readonlyinject:object
inject.fs:#decl
readonlyfs:#decl:"uniform sampler2D textureName;"
inject.fs:DECKGL_FILTER_COLOR
readonlyfs:DECKGL_FILTER_COLOR: "\n color = texture(textureName, geometry.uv);\n "
name
readonlyname:"create-texture-unorm"="create-texture-unorm"