Aller au contenu

Limits

data class Limits(
    val maxTextureDimension1D: UInt, 
    val maxTextureDimension2D: UInt, 
    val maxTextureDimension3D: UInt, 
    val maxTextureArrayLayers: UInt, 
    val maxBindGroups: UInt, 
    val maxBindGroupsPlusVertexBuffers: UInt, 
    val maxBindingsPerBindGroup: UInt, 
    val maxDynamicUniformBuffersPerPipelineLayout: UInt, 
    val maxDynamicStorageBuffersPerPipelineLayout: UInt, 
    val maxSampledTexturesPerShaderStage: UInt, 
    val maxSamplersPerShaderStage: UInt, 
    val maxStorageBuffersPerShaderStage: UInt, 
    val maxStorageTexturesPerShaderStage: UInt, 
    val maxUniformBuffersPerShaderStage: UInt, 
    val maxUniformBufferBindingSize: ULong, 
    val maxStorageBufferBindingSize: ULong, 
    val minUniformBufferOffsetAlignment: UInt, 
    val minStorageBufferOffsetAlignment: UInt, 
    val maxVertexBuffers: UInt, 
    val maxBufferSize: ULong, 
    val maxVertexAttributes: UInt, 
    val maxVertexBufferArrayStride: UInt, 
    val maxInterStageShaderVariables: UInt, 
    val maxColorAttachments: UInt, 
    val maxColorAttachmentBytesPerSample: UInt, 
    val maxComputeWorkgroupStorageSize: UInt, 
    val maxComputeInvocationsPerWorkgroup: UInt, 
    val maxComputeWorkgroupSizeX: UInt, 
    val maxComputeWorkgroupSizeY: UInt, 
    val maxComputeWorkgroupSizeZ: UInt, 
    val maxComputeWorkgroupsPerDimension: UInt, 
    val maxImmediateSize: UInt, 
    val maxStorageBuffersInVertexStage: UInt, 
    val maxStorageBuffersInFragmentStage: UInt, 
    val maxStorageTexturesInVertexStage: UInt, 
    val maxStorageTexturesInFragmentStage: UInt
) : GPUSupportedLimits

Constructors

Limits

constructor(
    maxTextureDimension1D: UInt, 
    maxTextureDimension2D: UInt, 
    maxTextureDimension3D: UInt, 
    maxTextureArrayLayers: UInt, 
    maxBindGroups: UInt, 
    maxBindGroupsPlusVertexBuffers: UInt, 
    maxBindingsPerBindGroup: UInt, 
    maxDynamicUniformBuffersPerPipelineLayout: UInt, 
    maxDynamicStorageBuffersPerPipelineLayout: UInt, 
    maxSampledTexturesPerShaderStage: UInt, 
    maxSamplersPerShaderStage: UInt, 
    maxStorageBuffersPerShaderStage: UInt, 
    maxStorageTexturesPerShaderStage: UInt, 
    maxUniformBuffersPerShaderStage: UInt, 
    maxUniformBufferBindingSize: ULong, 
    maxStorageBufferBindingSize: ULong, 
    minUniformBufferOffsetAlignment: UInt, 
    minStorageBufferOffsetAlignment: UInt, 
    maxVertexBuffers: UInt, 
    maxBufferSize: ULong, 
    maxVertexAttributes: UInt, 
    maxVertexBufferArrayStride: UInt, 
    maxInterStageShaderVariables: UInt, 
    maxColorAttachments: UInt, 
    maxColorAttachmentBytesPerSample: UInt, 
    maxComputeWorkgroupStorageSize: UInt, 
    maxComputeInvocationsPerWorkgroup: UInt, 
    maxComputeWorkgroupSizeX: UInt, 
    maxComputeWorkgroupSizeY: UInt, 
    maxComputeWorkgroupSizeZ: UInt, 
    maxComputeWorkgroupsPerDimension: UInt, 
    maxImmediateSize: UInt, 
    maxStorageBuffersInVertexStage: UInt, 
    maxStorageBuffersInFragmentStage: UInt, 
    maxStorageTexturesInVertexStage: UInt, 
    maxStorageTexturesInFragmentStage: UInt
)

Properties

maxBindGroups

open override val maxBindGroups: UInt

maxBindGroupsPlusVertexBuffers

maxBindingsPerBindGroup

open override val maxBindingsPerBindGroup: UInt

maxBufferSize

open override val maxBufferSize: ULong

maxColorAttachmentBytesPerSample

maxColorAttachments

open override val maxColorAttachments: UInt

maxComputeInvocationsPerWorkgroup

maxComputeWorkgroupSizeX

open override val maxComputeWorkgroupSizeX: UInt

maxComputeWorkgroupSizeY

open override val maxComputeWorkgroupSizeY: UInt

maxComputeWorkgroupSizeZ

open override val maxComputeWorkgroupSizeZ: UInt

maxComputeWorkgroupsPerDimension

maxComputeWorkgroupStorageSize

maxDynamicStorageBuffersPerPipelineLayout

maxDynamicUniformBuffersPerPipelineLayout

maxImmediateSize

open override val maxImmediateSize: UInt

maxInterStageShaderVariables

maxSampledTexturesPerShaderStage

maxSamplersPerShaderStage

open override val maxSamplersPerShaderStage: UInt

maxStorageBufferBindingSize

maxStorageBuffersInFragmentStage

maxStorageBuffersInVertexStage

maxStorageBuffersPerShaderStage

maxStorageTexturesInFragmentStage

maxStorageTexturesInVertexStage

maxStorageTexturesPerShaderStage

maxTextureArrayLayers

open override val maxTextureArrayLayers: UInt

maxTextureDimension1D

open override val maxTextureDimension1D: UInt

maxTextureDimension2D

open override val maxTextureDimension2D: UInt

maxTextureDimension3D

open override val maxTextureDimension3D: UInt

maxUniformBufferBindingSize

maxUniformBuffersPerShaderStage

maxVertexAttributes

open override val maxVertexAttributes: UInt

maxVertexBufferArrayStride

open override val maxVertexBufferArrayStride: UInt

maxVertexBuffers

open override val maxVertexBuffers: UInt

minStorageBufferOffsetAlignment

minUniformBufferOffsetAlignment