Optional
labelThe label of the Texture, used to create various GPU objects for debugging purpose
Optional
nameName of the Texture to use in the texture binding
Optional
fixedOptional
qualityForce the texture size to be set to the given ratio of the renderer canvas size or fixedSize. Used mainly to shrink render target texture definition.
Optional
typeWhether to use this Texture as a regular, storage or depth texture
Optional
formatOptional format of the texture, mainly used for storage textures
Optional
accessOptional texture binding memory access type, mainly used for storage textures
Optional
viewOptional texture view dimension to use
Optional
sampleSample count of the texture, used for multisampling
Optional
visibilityThe Texture shaders visibility sent to the texture binding
Optional
usageAllowed usages for the GPU texture as an array of texture usages names
Optional
autoOptional
generateWhether to generate mips. Default to false
.
Optional
flipYWhether to flip the source along the Y axis. Default to false
.
Optional
premultipliedWhether this texture should be premultiplied or not. Default to false
.
Base parameters used to create a Texture