struct Texture3DBuilder

book_4_sparkGenerated
code_blocksInput

Description

The Texture3DBuilder struct in the Sandbox namespace is a utility for constructing 3D textures with various configurations. It provides a fluent interface to specify different properties and settings for the texture before finalizing it with the Finish method.

Members

Instance Methods

Member Name Summary
WithStaticUsage Configures the texture for static usage.
WithSemiStaticUsage Configures the texture for semi-static usage.
WithDynamicUsage Configures the texture for dynamic usage.
WithGPUOnlyUsage Configures the texture for GPU-only usage.
WithUAVBinding Enables UAV binding for the texture.
WithMips Specifies the number of mipmap levels.
WithFormat Sets the image format for the texture.
WithScreenFormat Configures the texture with a screen-compatible format.
WithDepthFormat Configures the texture with a depth format.
WithMultiSample2X Enables 2x multisampling for the texture.
WithMultiSample4X Enables 4x multisampling for the texture.
WithMultiSample6X Enables 6x multisampling for the texture.
WithMultiSample8X Enables 8x multisampling for the texture.
WithMultiSample16X Enables 16x multisampling for the texture.
WithScreenMultiSample Configures the texture with screen-compatible multisampling.
WithName Assigns a name to the texture.
WithData Sets the initial data for the texture.
WithMultisample Specifies the multisample amount for the texture.
WithAnonymous Configures the texture as anonymous.
Finish Builds and creates the actual texture.
WithSize Specifies the size of the texture in width, height, and depth.