struct TextureArrayBuilder

book_4_sparkGenerated
code_blocksInput

Description

The TextureArrayBuilder struct in the Sandbox namespace is a utility for constructing texture arrays with various configurations. It provides a fluent interface to specify different properties and settings for the texture array before finalizing it into a usable texture.

Members

Instance Methods

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