Skip to content

@simversus/yjvisDocs


@simversus/yjvis / DeviceCaps

Class: DeviceCaps

设备能力

Constructors

new DeviceCaps()

new DeviceCaps(maxVertexAttributes, maxVertexUniformVectors, maxFragmentUniformVectors, maxTextureUnits, maxImageUnits, maxVertexTextureUnits, maxColorRenderTargets, maxShaderStorageBufferBindings, maxShaderStorageBlockSize, maxUniformBufferBindings, maxUniformBlockSize, maxTextureSize, maxCubeMapTextureSize, maxArrayTextureLayers, max3DTextureSize, uboOffsetAlignment, maxComputeSharedMemorySize, maxComputeWorkGroupInvocations, maxComputeWorkGroupSize, maxComputeWorkGroupCount, supportQuery, clipSpaceMinZ, screenSpaceSignY, clipSpaceSignY): DeviceCaps

Parameters

maxVertexAttributes: number = 0

maxVertexUniformVectors: number = 0

maxFragmentUniformVectors: number = 0

maxTextureUnits: number = 0

maxImageUnits: number = 0

maxVertexTextureUnits: number = 0

maxColorRenderTargets: number = 0

maxShaderStorageBufferBindings: number = 0

maxShaderStorageBlockSize: number = 0

maxUniformBufferBindings: number = 0

maxUniformBlockSize: number = 0

maxTextureSize: number = 0

maxCubeMapTextureSize: number = 0

maxArrayTextureLayers: number = 0

max3DTextureSize: number = 0

uboOffsetAlignment: number = 1

maxComputeSharedMemorySize: number = 0

maxComputeWorkGroupInvocations: number = 0

maxComputeWorkGroupSize: Size = ...

maxComputeWorkGroupCount: Size = ...

supportQuery: boolean = false

clipSpaceMinZ: number = -1

screenSpaceSignY: number = 1

clipSpaceSignY: number = 1

Returns

DeviceCaps

Defined in

gfx/base/types.ts:721

Properties

clipSpaceMinZ

clipSpaceMinZ: number = -1

Defined in

gfx/base/types.ts:743


clipSpaceSignY

clipSpaceSignY: number = 1

Defined in

gfx/base/types.ts:745


max3DTextureSize

max3DTextureSize: number = 0

Defined in

gfx/base/types.ts:736


maxArrayTextureLayers

maxArrayTextureLayers: number = 0

Defined in

gfx/base/types.ts:735


maxColorRenderTargets

maxColorRenderTargets: number = 0

Defined in

gfx/base/types.ts:728


maxComputeSharedMemorySize

maxComputeSharedMemorySize: number = 0

Defined in

gfx/base/types.ts:738


maxComputeWorkGroupCount

maxComputeWorkGroupCount: Size

Defined in

gfx/base/types.ts:741


maxComputeWorkGroupInvocations

maxComputeWorkGroupInvocations: number = 0

Defined in

gfx/base/types.ts:739


maxComputeWorkGroupSize

maxComputeWorkGroupSize: Size

Defined in

gfx/base/types.ts:740


maxCubeMapTextureSize

maxCubeMapTextureSize: number = 0

Defined in

gfx/base/types.ts:734


maxFragmentUniformVectors

maxFragmentUniformVectors: number = 0

Defined in

gfx/base/types.ts:724


maxImageUnits

maxImageUnits: number = 0

Defined in

gfx/base/types.ts:726


maxShaderStorageBlockSize

maxShaderStorageBlockSize: number = 0

Defined in

gfx/base/types.ts:730


maxShaderStorageBufferBindings

maxShaderStorageBufferBindings: number = 0

Defined in

gfx/base/types.ts:729


maxTextureSize

maxTextureSize: number = 0

Defined in

gfx/base/types.ts:733


maxTextureUnits

maxTextureUnits: number = 0

Defined in

gfx/base/types.ts:725


maxUniformBlockSize

maxUniformBlockSize: number = 0

Defined in

gfx/base/types.ts:732


maxUniformBufferBindings

maxUniformBufferBindings: number = 0

Defined in

gfx/base/types.ts:731


maxVertexAttributes

maxVertexAttributes: number = 0

Defined in

gfx/base/types.ts:722


maxVertexTextureUnits

maxVertexTextureUnits: number = 0

Defined in

gfx/base/types.ts:727


maxVertexUniformVectors

maxVertexUniformVectors: number = 0

Defined in

gfx/base/types.ts:723


screenSpaceSignY

screenSpaceSignY: number = 1

Defined in

gfx/base/types.ts:744


supportQuery

supportQuery: boolean = false

Defined in

gfx/base/types.ts:742


uboOffsetAlignment

uboOffsetAlignment: number = 1

Defined in

gfx/base/types.ts:737