Home -> ITextureBuffer -> UsageFlags
Description
The UsageFlags enumeration declares how an ITextureBuffer may be used after allocation. These flags must be set before allocation so the renderer can create the correct native image resource and usage permissions.
Members
| Name | Description | |
|---|---|---|
| Default |
Requests the default texture usage.
|
|
| ShaderInput |
Allows the texture to be bound and sampled or read by shader programs.
|
|
| FrameBufferOutput |
Allows the texture to be bound as a framebuffer attachment for render output.
|
|
| MultiSampleResolve |
Allows the texture to receive resolved single-sample data from a multisampled framebuffer attachment.
|