Enum RenderingDevice.BufferCreationBits
- Namespace
- Godot
- Assembly
- GodotSharp.dll
[Flags]
public enum RenderingDevice.BufferCreationBits : long
Fields
AsStorageBit = 2
Set this flag so that it is created as storage. This is useful if Compute Shaders need access (for reading or writing) to the buffer, e.g. skeletal animations are processed in Compute Shaders which need access to vertex buffers, to be later consumed by vertex shaders as part of the regular rasterization pipeline.
DeviceAddressBit = 1
Optionally, set this flag if you wish to use BufferGetDeviceAddress(Rid) functionality. You must first check the GPU supports it: