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 Texture object.

Members

Instance Methods

Member NameSummary
WithStaticUsageConfigures the texture array for static usage.
WithSemiStaticUsageConfigures the texture array for semi-static usage.
WithDynamicUsageConfigures the texture array for dynamic usage.
WithGPUOnlyUsageConfigures the texture array for GPU-only usage.
WithUAVBindingEnables UAV binding for the texture array.
WithMipsSpecifies the number of mip levels for the texture array.
WithFormatSets the image format for the texture array.
WithScreenFormatConfigures the texture array with a screen-compatible format.
WithDepthFormatConfigures the texture array with a depth format.
WithMultiSample2XEnables 2x multisampling for the texture array.
WithMultiSample4XEnables 4x multisampling for the texture array.
WithMultiSample6XEnables 6x multisampling for the texture array.
WithMultiSample8XEnables 8x multisampling for the texture array.
WithMultiSample16XEnables 16x multisampling for the texture array.
WithScreenMultiSampleConfigures the texture array with screen-compatible multisampling.
WithNameAssigns a name to the texture array.
WithDataSets the data for the texture array.
WithMultisampleSpecifies the multisample amount for the texture array.
WithAnonymousConfigures the texture array as anonymous.
FinishBuilds and creates the actual texture from the configured settings.
WithSizeSpecifies the width and height for the texture array.
WithCountSpecifies the number of textures in the array.