# Sandbox.TextureBuilder

- Kind: struct
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Modifiers: sealed

## Methods

- [`Create`](/api/Sandbox.TextureBuilder/Create)
- [`WithDepth`](/api/Sandbox.TextureBuilder/WithDepth)
- [`WithDepthFormat`](/api/Sandbox.TextureBuilder/WithDepthFormat): Uses the same depth format as what the screen/framebuffer uses.
- [`WithDynamicUsage`](/api/Sandbox.TextureBuilder/WithDynamicUsage): Provides a hint to the GPU that this texture will be updated regularly. (almost every frame)
- [`WithFormat`](/api/Sandbox.TextureBuilder/WithFormat): The internal texture format to use.
- [`WithGPUOnlyUsage`](/api/Sandbox.TextureBuilder/WithGPUOnlyUsage): Specify the texture to ONLY be used on the GPU on not allow CPU access.
- [`WithHeight`](/api/Sandbox.TextureBuilder/WithHeight)
- [`WithInitialColor`](/api/Sandbox.TextureBuilder/WithInitialColor): Once the texture is created it will be cleared to this color
- [`WithMips`](/api/Sandbox.TextureBuilder/WithMips)
- [`WithMSAA`](/api/Sandbox.TextureBuilder/WithMSAA)
- [`WithMultiSample16X`](/api/Sandbox.TextureBuilder/WithMultiSample16X): Sets the texture to use 16x multisampling.
- [`WithMultiSample2X`](/api/Sandbox.TextureBuilder/WithMultiSample2X): Sets the texture to use 2x multisampling.
- [`WithMultiSample4X`](/api/Sandbox.TextureBuilder/WithMultiSample4X): Sets the texture to use 4x multisampling.
- [`WithMultiSample6X`](/api/Sandbox.TextureBuilder/WithMultiSample6X): Sets the texture to use 6x multisampling.
- [`WithMultiSample8X`](/api/Sandbox.TextureBuilder/WithMultiSample8X): Sets the texture to use 8x multisampling.
- [`WithScreenFormat`](/api/Sandbox.TextureBuilder/WithScreenFormat): Sets the internal texture format to use the same format as the screen/frame buffer.
- [`WithScreenMultiSample`](/api/Sandbox.TextureBuilder/WithScreenMultiSample): Sets the texture to use the same multisampling as whatever the screen/framebuffer uses
- [`WithSemiStaticUsage`](/api/Sandbox.TextureBuilder/WithSemiStaticUsage): Provides a hint to the GPU that this texture will only be updated sometimes.
- [`WithSize`](/api/Sandbox.TextureBuilder/WithSize)
- [`WithStaticUsage`](/api/Sandbox.TextureBuilder/WithStaticUsage): Provides a hint to the GPU that this texture will not be modified.
- [`WithUAVBinding`](/api/Sandbox.TextureBuilder/WithUAVBinding): Support binding the texture as a Unordered Access View in a compute or pixel shader. This is required for binding a texture within a compute shader.
- [`WithWidth`](/api/Sandbox.TextureBuilder/WithWidth)
