Enum RenderingDevice.TextureUsageBits
- Namespace
- Godot
- Assembly
- GodotSharp.dll
[Flags]
public enum RenderingDevice.TextureUsageBits : long
Fields
CanCopyFromBit = 128Texture can be a source for TextureCopy(Rid, Rid, Vector3, Vector3, Vector3, uint, uint, uint, uint).
CanCopyToBit = 256Texture can be a destination for TextureCopy(Rid, Rid, Vector3, Vector3, Vector3, uint, uint, uint, uint).
CanUpdateBit = 64Texture can be updated using TextureUpdate(Rid, uint, byte[]).
ColorAttachmentBit = 2Texture can be used as a color attachment in a framebuffer.
CpuReadBit = 32Texture can be read back on the CPU using TextureGetData(Rid, uint) faster than without this bit, since it is always kept in the system memory.
DepthStencilAttachmentBit = 4Texture can be used as a depth/stencil attachment in a framebuffer.
InputAttachmentBit = 512Texture can be used as a input attachment in a framebuffer.
SamplingBit = 1Texture can be sampled.
StorageAtomicBit = 16Texture can be used as a storage image with support for atomic operations.
StorageBit = 8Texture can be used as a storage image.