warp.TextureResourceFlags#
- class warp.TextureResourceFlags(*values)[source]#
Flags specifying how a texture resource will be used by Warp.
Attributes
Warp will read and write to this resource (default).
Warp will not write to this resource.
Warp will not read from this resource and will write over the entire contents of the resource.
Warp will bind this resource to a surface reference.
Warp will perform texture gather operations on this resource.
- NONE = 0#
Warp will read and write to this resource (default).
- READ_ONLY = 1#
Warp will not write to this resource.
- WRITE_DISCARD = 2#
Warp will not read from this resource and will write over the entire contents of the resource.
- SURFACE_LDST = 4#
Warp will bind this resource to a surface reference.
- TEXTURE_GATHER = 8#
Warp will perform texture gather operations on this resource.