Table of Contents

Enum RenderingDevice.Limit

Namespace
Godot
Assembly
GodotSharp.dll
public enum RenderingDevice.Limit : long

Fields

MaxBoundUniformSets = 0

Maximum number of uniform sets that can be bound at a given time.

MaxComputeSharedMemorySize = 27

Maximum shared memory size for compute shaders.

MaxComputeWorkgroupCountX = 28

Maximum number of workgroups for compute shaders on the X axis.

MaxComputeWorkgroupCountY = 29

Maximum number of workgroups for compute shaders on the Y axis.

MaxComputeWorkgroupCountZ = 30

Maximum number of workgroups for compute shaders on the Z axis.

MaxComputeWorkgroupInvocations = 31

Maximum number of workgroup invocations for compute shaders.

MaxComputeWorkgroupSizeX = 32

Maximum workgroup size for compute shaders on the X axis.

MaxComputeWorkgroupSizeY = 33

Maximum workgroup size for compute shaders on the Y axis.

MaxComputeWorkgroupSizeZ = 34

Maximum workgroup size for compute shaders on the Z axis.

MaxDrawIndexedIndex = 7

Maximum index for an indexed draw command.

MaxFramebufferColorAttachments = 1

Maximum number of color framebuffer attachments that can be used at a given time.

MaxFramebufferHeight = 8

Maximum height of a framebuffer (in pixels).

MaxFramebufferWidth = 9

Maximum width of a framebuffer (in pixels).

MaxPushConstantSize = 20

Maximum 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 = 16

Maximum number of samplers per shader stage.

MaxSamplersPerUniformSet = 3

Maximum number of samplers that can be used per uniform set.

MaxStorageBuffersPerShaderStage = 17

Maximum number of storage buffers per shader stage.

MaxStorageBuffersPerUniformSet = 4

Maximum number of storage buffers per uniform set.

MaxStorageImagesPerShaderStage = 18

Maximum number of storage images per shader stage.

MaxStorageImagesPerUniformSet = 5

Maximum number of storage images per uniform set.

MaxTextureArrayLayers = 10

Maximum number of texture array layers.

MaxTextureSize1D = 11

Maximum supported 1-dimensional texture size (in pixels on a single axis).

MaxTextureSize2D = 12

Maximum supported 2-dimensional texture size (in pixels on a single axis).

MaxTextureSize3D = 13

Maximum supported 3-dimensional texture size (in pixels on a single axis).

MaxTextureSizeCube = 14

Maximum supported cubemap texture size (in pixels on a single axis of a single face).

MaxTexturesPerShaderStage = 15

Maximum number of textures per shader stage.

MaxTexturesPerUniformSet = 2

Maximum number of textures that can be used per uniform set.

MaxUniformBufferSize = 21

Maximum size of a uniform buffer.

MaxUniformBuffersPerShaderStage = 19

Maximum number of uniform buffers per uniform set.

MaxUniformBuffersPerUniformSet = 6

Maximum number of uniform buffers per uniform set.

MaxVertexInputAttributeOffset = 22

Maximum vertex input attribute offset.

MaxVertexInputAttributes = 23

Maximum number of vertex input attributes.

MaxVertexInputBindingStride = 25

Maximum vertex input binding stride.

MaxVertexInputBindings = 24

Maximum number of vertex input bindings.

MaxViewportDimensionsX = 35

Maximum viewport width (in pixels).

MaxViewportDimensionsY = 36

Maximum viewport height (in pixels).

MinUniformBufferOffsetAlignment = 26

Minimum uniform buffer offset alignment.