API
Babylon Lite API
|
getShaderTexture
…
|
Babylon Lite API
|
getShaderTexture
getShaderTexture
Function getShaderTexture
getShaderTexture
(
material
:
ShaderMaterial
,
name
:
string
)
:
Texture2D
|
null
Get the texture currently bound to a declared sampler, preserving wrapper identity.
Parameters
material
:
ShaderMaterial
name
:
string
Returns
Texture2D
|
null
Get the texture currently bound to a declared sampler, preserving wrapper identity.