Specifies a texture exposed to the shaders of a CustomMaterial or Effect. More...
Import Statement: | import QtQuick3D |
This is a type which can be used for exposing a Texture to a shader, either in the render pass of an Effect, or in a CustomMaterial. It exists primarily to assign a local name to the Texture that can be referenced from shaders.
When a TextureInput property is declared in an Effect or a CustomMaterial, it will automatically be available as a sampler in all shaders by its property name.
enabled : bool |
The property determines if this TextureInput is enabled. The default value is true. When disabled, the shaders of the effect sample a dummy, opaque black texture instead of the one specified by texture.
texture : Texture |
The texture for which this TextureInput serves as an indirection.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: