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 its creation.

Members

Instance Methods

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