struct TextureCubeBuilder

book_4_sparkGenerated
code_blocksInput

Description

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

Members

Instance Methods

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