Limits
class Limits
The set of capabilities and constraints for a GPU device.
Summary
Public constructors |
|---|
Limits( |
Public properties |
|
|---|---|
Int |
|
Int |
|
Int |
|
Long |
|
Int |
|
Int |
|
Int |
|
Int |
|
Int |
|
Int |
|
Int |
|
Int |
|
Int |
|
Int |
|
Int |
|
Int |
|
Int |
|
Int |
|
Long |
|
Int |
|
Int |
|
Int |
|
Int |
|
Int |
|
Int |
|
Long |
|
Int |
|
Int |
|
Int |
|
Int |
|
Int |
|
Int |
Public constructors
Limits
Added in 1.0.0-alpha01
Limits(
maxTextureDimension1D: Int = Constants.LIMIT_U32_UNDEFINED,
maxTextureDimension2D: Int = Constants.LIMIT_U32_UNDEFINED,
maxTextureDimension3D: Int = Constants.LIMIT_U32_UNDEFINED,
maxTextureArrayLayers: Int = Constants.LIMIT_U32_UNDEFINED,
maxBindGroups: Int = Constants.LIMIT_U32_UNDEFINED,
maxBindGroupsPlusVertexBuffers: Int = Constants.LIMIT_U32_UNDEFINED,
maxBindingsPerBindGroup: Int = Constants.LIMIT_U32_UNDEFINED,
maxDynamicUniformBuffersPerPipelineLayout: Int = Constants.LIMIT_U32_UNDEFINED,
maxDynamicStorageBuffersPerPipelineLayout: Int = Constants.LIMIT_U32_UNDEFINED,
maxSampledTexturesPerShaderStage: Int = Constants.LIMIT_U32_UNDEFINED,
maxSamplersPerShaderStage: Int = Constants.LIMIT_U32_UNDEFINED,
maxStorageBuffersPerShaderStage: Int = Constants.LIMIT_U32_UNDEFINED,
maxStorageTexturesPerShaderStage: Int = Constants.LIMIT_U32_UNDEFINED,
maxUniformBuffersPerShaderStage: Int = Constants.LIMIT_U32_UNDEFINED,
maxUniformBufferBindingSize: Long = Constants.LIMIT_U64_UNDEFINED,
maxStorageBufferBindingSize: Long = Constants.LIMIT_U64_UNDEFINED,
minUniformBufferOffsetAlignment: Int = Constants.LIMIT_U32_UNDEFINED,
minStorageBufferOffsetAlignment: Int = Constants.LIMIT_U32_UNDEFINED,
maxVertexBuffers: Int = Constants.LIMIT_U32_UNDEFINED,
maxBufferSize: Long = Constants.LIMIT_U64_UNDEFINED,
maxVertexAttributes: Int = Constants.LIMIT_U32_UNDEFINED,
maxVertexBufferArrayStride: Int = Constants.LIMIT_U32_UNDEFINED,
maxInterStageShaderVariables: Int = Constants.LIMIT_U32_UNDEFINED,
maxColorAttachments: Int = Constants.LIMIT_U32_UNDEFINED,
maxColorAttachmentBytesPerSample: Int = Constants.LIMIT_U32_UNDEFINED,
maxComputeWorkgroupStorageSize: Int = Constants.LIMIT_U32_UNDEFINED,
maxComputeInvocationsPerWorkgroup: Int = Constants.LIMIT_U32_UNDEFINED,
maxComputeWorkgroupSizeX: Int = Constants.LIMIT_U32_UNDEFINED,
maxComputeWorkgroupSizeY: Int = Constants.LIMIT_U32_UNDEFINED,
maxComputeWorkgroupSizeZ: Int = Constants.LIMIT_U32_UNDEFINED,
maxComputeWorkgroupsPerDimension: Int = Constants.LIMIT_U32_UNDEFINED,
maxImmediateSize: Int = Constants.LIMIT_U32_UNDEFINED
)
Public properties
maxDynamicStorageBuffersPerPipelineLayout
Added in 1.0.0-alpha01
var maxDynamicStorageBuffersPerPipelineLayout: Int
maxDynamicUniformBuffersPerPipelineLayout
Added in 1.0.0-alpha01
var maxDynamicUniformBuffersPerPipelineLayout: Int