Enum RenderingDevice.Limit
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum RenderingDevice.Limit : long
Fields
MaxBoundUniformSets = 0Maximum number of uniform sets that can be bound at a given time.
Maximum shared memory size for compute shaders.
MaxComputeWorkgroupCountX = 28Maximum number of workgroups for compute shaders on the X axis.
MaxComputeWorkgroupCountY = 29Maximum number of workgroups for compute shaders on the Y axis.
MaxComputeWorkgroupCountZ = 30Maximum number of workgroups for compute shaders on the Z axis.
MaxComputeWorkgroupInvocations = 31Maximum number of workgroup invocations for compute shaders.
MaxComputeWorkgroupSizeX = 32Maximum workgroup size for compute shaders on the X axis.
MaxComputeWorkgroupSizeY = 33Maximum workgroup size for compute shaders on the Y axis.
MaxComputeWorkgroupSizeZ = 34Maximum workgroup size for compute shaders on the Z axis.
MaxDrawIndexedIndex = 7Maximum index for an indexed draw command.
MaxFramebufferColorAttachments = 1Maximum number of color framebuffer attachments that can be used at a given time.
MaxFramebufferHeight = 8Maximum height of a framebuffer (in pixels).
MaxFramebufferWidth = 9Maximum width of a framebuffer (in pixels).
MaxPushConstantSize = 20Maximum size of a push constant. A lot of devices are limited to 128 bytes, so try to avoid exceeding 128 bytes in push constants to ensure compatibility even if your GPU is reporting a higher value.
MaxSamplersPerShaderStage = 16Maximum number of samplers per shader stage.
MaxSamplersPerUniformSet = 3Maximum number of samplers that can be used per uniform set.
MaxStorageBuffersPerShaderStage = 17Maximum number of storage buffers per shader stage.
MaxStorageBuffersPerUniformSet = 4Maximum number of storage buffers per uniform set.
MaxStorageImagesPerShaderStage = 18Maximum number of storage images per shader stage.
MaxStorageImagesPerUniformSet = 5Maximum number of storage images per uniform set.
MaxTextureArrayLayers = 10Maximum number of texture array layers.
MaxTextureSize1D = 11Maximum supported 1-dimensional texture size (in pixels on a single axis).
MaxTextureSize2D = 12Maximum supported 2-dimensional texture size (in pixels on a single axis).
MaxTextureSize3D = 13Maximum supported 3-dimensional texture size (in pixels on a single axis).
MaxTextureSizeCube = 14Maximum supported cubemap texture size (in pixels on a single axis of a single face).
MaxTexturesPerShaderStage = 15Maximum number of textures per shader stage.
MaxTexturesPerUniformSet = 2Maximum number of textures that can be used per uniform set.
MaxUniformBufferSize = 21Maximum size of a uniform buffer.
MaxUniformBuffersPerShaderStage = 19Maximum number of uniform buffers per uniform set.
MaxUniformBuffersPerUniformSet = 6Maximum number of uniform buffers per uniform set.
MaxVertexInputAttributeOffset = 22Maximum vertex input attribute offset.
MaxVertexInputAttributes = 23Maximum number of vertex input attributes.
MaxVertexInputBindingStride = 25Maximum vertex input binding stride.
MaxVertexInputBindings = 24Maximum number of vertex input bindings.
MaxViewportDimensionsX = 35Maximum viewport width (in pixels).
MaxViewportDimensionsY = 36Maximum viewport height (in pixels).
MinUniformBufferOffsetAlignment = 26Minimum uniform buffer offset alignment.