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 NameSummary
WithStaticUsageConfigures the texture for static usage.
WithSemiStaticUsageConfigures the texture for semi-static usage.
WithDynamicUsageConfigures the texture for dynamic usage.
WithGPUOnlyUsageConfigures the texture for GPU-only usage.
WithUAVBindingEnables UAV binding for the texture.
WithMipsSpecifies the number of mipmap levels.
WithFormatSets the image format for the texture.
WithScreenFormatConfigures the texture with a screen-compatible format.
WithDepthFormatConfigures the texture with a depth format.
WithMultiSample2XEnables 2x multisampling.
WithMultiSample4XEnables 4x multisampling.
WithMultiSample6XEnables 6x multisampling.
WithMultiSample8XEnables 8x multisampling.
WithMultiSample16XEnables 16x multisampling.
WithScreenMultiSampleConfigures the texture with screen multisampling.
WithNameAssigns a name to the texture.
WithDataSets the initial data for the texture.
WithMultisampleSpecifies the multisample amount.
WithAnonymousConfigures the texture as anonymous.
FinishBuilds and creates the actual texture.
WithSizeSpecifies the size of the texture in width, height, and depth.