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
Public Enum Default
Requests the default texture usage.
Public Enum ShaderInput
Allows the texture to be bound and sampled or read by shader programs.
Public Enum FrameBufferOutput
Allows the texture to be bound as a framebuffer attachment for render output.
Public Enum MultiSampleResolve
Allows the texture to receive resolved single-sample data from a multisampled framebuffer attachment.

See also