Options
All
  • Public
  • Public/Protected
  • All
Menu

Module gfx

Index

References

Enumerations

Classes

Interfaces

Type aliases

Variables

Functions

References

DESCRIPTOR_BUFFER_TYPE

Re-exports DESCRIPTOR_BUFFER_TYPE

DESCRIPTOR_DYNAMIC_TYPE

Re-exports DESCRIPTOR_DYNAMIC_TYPE

DESCRIPTOR_SAMPLER_TYPE

Re-exports DESCRIPTOR_SAMPLER_TYPE

GFXAPI

Re-exports GFXAPI

GFXAddress

Re-exports GFXAddress

GFXAttributeName

Re-exports GFXAttributeName

GFXBindingMappingInfo

Re-exports GFXBindingMappingInfo

GFXBlendFactor

Re-exports GFXBlendFactor

GFXBlendOp

Re-exports GFXBlendOp

GFXBlendState

Re-exports GFXBlendState

GFXBlendTarget

Re-exports GFXBlendTarget

GFXBuffer

Re-exports GFXBuffer

GFXBufferAccess

Re-exports GFXBufferAccess

GFXBufferAccessBit

Re-exports GFXBufferAccessBit

GFXBufferFlagBit

Re-exports GFXBufferFlagBit

GFXBufferFlags

Re-exports GFXBufferFlags

GFXBufferSource

Re-exports GFXBufferSource

GFXBufferTextureCopy

Re-exports GFXBufferTextureCopy

GFXBufferUsage

Re-exports GFXBufferUsage

GFXBufferUsageBit

Re-exports GFXBufferUsageBit

GFXClearFlag

Re-exports GFXClearFlag

GFXColor

Re-exports GFXColor

GFXColorAttachment

Re-exports GFXColorAttachment

GFXColorMask

Re-exports GFXColorMask

GFXCommandBuffer

Re-exports GFXCommandBuffer

GFXCommandBufferType

Re-exports GFXCommandBufferType

GFXComparisonFunc

Re-exports GFXComparisonFunc

GFXCullMode

Re-exports GFXCullMode

GFXDepthStencilAttachment

Re-exports GFXDepthStencilAttachment

GFXDepthStencilState

Re-exports GFXDepthStencilState

GFXDescriptorSet

Re-exports GFXDescriptorSet

GFXDescriptorSetLayout

Re-exports GFXDescriptorSetLayout

GFXDescriptorType

Re-exports GFXDescriptorType

GFXDevice

Re-exports GFXDevice

GFXDrawInfo

Re-exports GFXDrawInfo

GFXDynamicStateFlagBit

Re-exports GFXDynamicStateFlagBit

GFXDynamicStateFlags

Re-exports GFXDynamicStateFlags

GFXExtent

Re-exports GFXExtent

GFXFeature

Re-exports GFXFeature

GFXFence

Re-exports GFXFence

GFXFilter

Re-exports GFXFilter

GFXFormat

Re-exports GFXFormat

GFXFormatInfo

Re-exports GFXFormatInfo

GFXFormatInfos

Re-exports GFXFormatInfos

GFXFormatSize

Re-exports GFXFormatSize

GFXFormatSurfaceSize

Re-exports GFXFormatSurfaceSize

GFXFormatType

Re-exports GFXFormatType

GFXFramebuffer

Re-exports GFXFramebuffer

GFXGetTypeSize

Re-exports GFXGetTypeSize

GFXInputAssembler

Re-exports GFXInputAssembler

GFXInputState

Re-exports GFXInputState

GFXLoadOp

Re-exports GFXLoadOp

GFXMemoryStatus

Re-exports GFXMemoryStatus

GFXMemoryUsage

Re-exports GFXMemoryUsage

GFXMemoryUsageBit

Re-exports GFXMemoryUsageBit

GFXObject

Re-exports GFXObject

GFXObjectType

Re-exports GFXObjectType

GFXOffset

Re-exports GFXOffset

GFXPipelineBindPoint

Re-exports GFXPipelineBindPoint

GFXPipelineLayout

Re-exports GFXPipelineLayout

GFXPipelineState

Re-exports GFXPipelineState

GFXPolygonMode

Re-exports GFXPolygonMode

GFXPrimitiveMode

Re-exports GFXPrimitiveMode

GFXQueue

Re-exports GFXQueue

GFXQueueType

Re-exports GFXQueueType

GFXRasterizerState

Re-exports GFXRasterizerState

GFXRect

Re-exports GFXRect

GFXRenderPass

Re-exports GFXRenderPass

GFXSampleCount

Re-exports GFXSampleCount

GFXSampler

Re-exports GFXSampler

GFXSamplerState

Re-exports GFXSamplerState

GFXShadeModel

Re-exports GFXShadeModel

GFXShader

Re-exports GFXShader

GFXShaderInfo

Re-exports GFXShaderInfo

GFXShaderStage

Re-exports GFXShaderStage

GFXShaderStageFlagBit

Re-exports GFXShaderStageFlagBit

GFXShaderStageFlags

Re-exports GFXShaderStageFlags

GFXStencilFace

Re-exports GFXStencilFace

GFXStencilOp

Re-exports GFXStencilOp

GFXStoreOp

Re-exports GFXStoreOp

GFXTexture

Re-exports GFXTexture

GFXTextureCopy

Re-exports GFXTextureCopy

GFXTextureFlagBit

Re-exports GFXTextureFlagBit

GFXTextureFlags

Re-exports GFXTextureFlags

GFXTextureLayout

Re-exports GFXTextureLayout

GFXTextureSubres

Re-exports GFXTextureSubres

GFXTextureType

Re-exports GFXTextureType

GFXTextureUsage

Re-exports GFXTextureUsage

GFXTextureUsageBit

Re-exports GFXTextureUsageBit

GFXType

Re-exports GFXType

GFXUniform

Re-exports GFXUniform

GFXUniformBlock

Re-exports GFXUniformBlock

GFXUniformSampler

Re-exports GFXUniformSampler

GFXViewport

Re-exports GFXViewport

GFX_DRAW_INFO_SIZE

Re-exports GFX_DRAW_INFO_SIZE

GFX_MAX_ATTACHMENTS

Re-exports GFX_MAX_ATTACHMENTS

GFX_MAX_BUFFER_BINDINGS

Re-exports GFX_MAX_BUFFER_BINDINGS

GFX_MAX_TEXTURE_UNITS

Re-exports GFX_MAX_TEXTURE_UNITS

GFX_MAX_VERTEX_ATTRIBUTES

Re-exports GFX_MAX_VERTEX_ATTRIBUTES

IGFXAttribute

Re-exports IGFXAttribute

IGFXBufferInfo

Re-exports IGFXBufferInfo

IGFXBufferViewInfo

Re-exports IGFXBufferViewInfo

IGFXCommandBufferInfo

Re-exports IGFXCommandBufferInfo

IGFXDepthBias

Re-exports IGFXDepthBias

IGFXDepthBounds

Re-exports IGFXDepthBounds

IGFXDescriptorSetInfo

Re-exports IGFXDescriptorSetInfo

IGFXDescriptorSetLayoutBinding

Re-exports IGFXDescriptorSetLayoutBinding

IGFXDescriptorSetLayoutInfo

Re-exports IGFXDescriptorSetLayoutInfo

IGFXDeviceInfo

Re-exports IGFXDeviceInfo

IGFXFenceInfo

Re-exports IGFXFenceInfo

IGFXFramebufferInfo

Re-exports IGFXFramebufferInfo

IGFXIndirectBuffer

Re-exports IGFXIndirectBuffer

IGFXInputAssemblerInfo

Re-exports IGFXInputAssemblerInfo

IGFXPipelineLayoutInfo

Re-exports IGFXPipelineLayoutInfo

IGFXPipelineStateInfo

Re-exports IGFXPipelineStateInfo

IGFXQueueInfo

Re-exports IGFXQueueInfo

IGFXRenderPassInfo

Re-exports IGFXRenderPassInfo

IGFXSamplerInfo

Re-exports IGFXSamplerInfo

IGFXStencilCompareMask

Re-exports IGFXStencilCompareMask

IGFXStencilWriteMask

Re-exports IGFXStencilWriteMask

IGFXSubPassInfo

Re-exports IGFXSubPassInfo

IGFXTextureInfo

Re-exports IGFXTextureInfo

IGFXTextureViewInfo

Re-exports IGFXTextureViewInfo

IsPowerOf2

Re-exports IsPowerOf2

getTypedArrayConstructor

Re-exports getTypedArrayConstructor

Type aliases

GFXBufferAccess

GFXBufferAccess: GFXBufferAccessBit

GFXBufferFlags

GFXBufferFlags: GFXBufferFlagBit

GFXBufferSource

GFXBufferSource: ArrayBuffer | IGFXIndirectBuffer

GFXBufferUsage

GFXBufferUsage: GFXBufferUsageBit

GFXDynamicStateFlags

GFXDynamicStateFlags: GFXDynamicStateFlagBit

GFXMemoryUsage

GFXMemoryUsage: GFXMemoryUsageBit

GFXShaderStageFlags

GFXShaderStageFlags: GFXShaderStageFlagBit

GFXTextureFlags

GFXTextureFlags: GFXTextureFlagBit

GFXTextureUsage

GFXTextureUsage: GFXTextureUsageBit

Variables

Const DESCRIPTOR_BUFFER_TYPE

DESCRIPTOR_BUFFER_TYPE: number = GFXDescriptorType.UNIFORM_BUFFER | GFXDescriptorType.DYNAMIC_UNIFORM_BUFFER |GFXDescriptorType.STORAGE_BUFFER | GFXDescriptorType.DYNAMIC_STORAGE_BUFFER

Const DESCRIPTOR_DYNAMIC_TYPE

DESCRIPTOR_DYNAMIC_TYPE: number = GFXDescriptorType.DYNAMIC_STORAGE_BUFFER | GFXDescriptorType.DYNAMIC_UNIFORM_BUFFER

Const DESCRIPTOR_SAMPLER_TYPE

DESCRIPTOR_SAMPLER_TYPE: SAMPLER = GFXDescriptorType.SAMPLER

Const GFXFormatInfos

GFXFormatInfos: ReadonlyArray<GFXFormatInfo> = Object.freeze([new GFXFormatInfo('UNKNOWN', 0, 0, GFXFormatType.NONE, false, false, false, false),new GFXFormatInfo('A8', 1, 1, GFXFormatType.UNORM, true, false, false, false),new GFXFormatInfo('L8', 1, 1, GFXFormatType.UNORM, false, false, false, false),new GFXFormatInfo('LA8', 1, 2, GFXFormatType.UNORM, true, false, false, false),new GFXFormatInfo('R8', 1, 1, GFXFormatType.UNORM, false, false, false, false),new GFXFormatInfo('R8SN', 1, 1, GFXFormatType.SNORM, false, false, false, false),new GFXFormatInfo('R8UI', 1, 1, GFXFormatType.UINT, false, false, false, false),new GFXFormatInfo('R8I', 1, 1, GFXFormatType.INT, false, false, false, false),new GFXFormatInfo('R16F', 2, 1, GFXFormatType.FLOAT, false, false, false, false),new GFXFormatInfo('R16UI', 2, 1, GFXFormatType.UINT, false, false, false, false),new GFXFormatInfo('R16I', 2, 1, GFXFormatType.INT, false, false, false, false),new GFXFormatInfo('R32F', 4, 1, GFXFormatType.FLOAT, false, false, false, false),new GFXFormatInfo('R32UI', 4, 1, GFXFormatType.UINT, false, false, false, false),new GFXFormatInfo('R32I', 4, 1, GFXFormatType.INT, false, false, false, false),new GFXFormatInfo('RG8', 2, 2, GFXFormatType.UNORM, false, false, false, false),new GFXFormatInfo('RG8SN', 2, 2, GFXFormatType.SNORM, false, false, false, false),new GFXFormatInfo('RG8UI', 2, 2, GFXFormatType.UINT, false, false, false, false),new GFXFormatInfo('RG8I', 2, 2, GFXFormatType.INT, false, false, false, false),new GFXFormatInfo('RG16F', 4, 2, GFXFormatType.FLOAT, false, false, false, false),new GFXFormatInfo('RG16UI', 4, 2, GFXFormatType.UINT, false, false, false, false),new GFXFormatInfo('RG16I', 4, 2, GFXFormatType.INT, false, false, false, false),new GFXFormatInfo('RG32F', 8, 2, GFXFormatType.FLOAT, false, false, false, false),new GFXFormatInfo('RG32UI', 8, 2, GFXFormatType.UINT, false, false, false, false),new GFXFormatInfo('RG32I', 8, 2, GFXFormatType.INT, false, false, false, false),new GFXFormatInfo('RGB8', 3, 3, GFXFormatType.UNORM, false, false, false, false),new GFXFormatInfo('SRGB8', 3, 3, GFXFormatType.UNORM, false, false, false, false),new GFXFormatInfo('RGB8SN', 3, 3, GFXFormatType.SNORM, false, false, false, false),new GFXFormatInfo('RGB8UI', 3, 3, GFXFormatType.UINT, false, false, false, false),new GFXFormatInfo('RGB8I', 3, 3, GFXFormatType.INT, false, false, false, false),new GFXFormatInfo('RGB16F', 6, 3, GFXFormatType.FLOAT, false, false, false, false),new GFXFormatInfo('RGB16UI', 6, 3, GFXFormatType.UINT, false, false, false, false),new GFXFormatInfo('RGB16I', 6, 3, GFXFormatType.INT, false, false, false, false),new GFXFormatInfo('RGB32F', 12, 3, GFXFormatType.FLOAT, false, false, false, false),new GFXFormatInfo('RGB32UI', 12, 3, GFXFormatType.UINT, false, false, false, false),new GFXFormatInfo('RGB32I', 12, 3, GFXFormatType.INT, false, false, false, false),new GFXFormatInfo('RGBA8', 4, 4, GFXFormatType.UNORM, true, false, false, false),new GFXFormatInfo('BGRA8', 4, 4, GFXFormatType.UNORM, true, false, false, false),new GFXFormatInfo('SRGB8_A8', 4, 4, GFXFormatType.UNORM, true, false, false, false),new GFXFormatInfo('RGBA8SN', 4, 4, GFXFormatType.SNORM, true, false, false, false),new GFXFormatInfo('RGBA8UI', 4, 4, GFXFormatType.UINT, true, false, false, false),new GFXFormatInfo('RGBA8I', 4, 4, GFXFormatType.INT, true, false, false, false),new GFXFormatInfo('RGBA16F', 8, 4, GFXFormatType.FLOAT, true, false, false, false),new GFXFormatInfo('RGBA16UI', 8, 4, GFXFormatType.UINT, true, false, false, false),new GFXFormatInfo('RGBA16I', 8, 4, GFXFormatType.INT, true, false, false, false),new GFXFormatInfo('RGBA32F', 16, 4, GFXFormatType.FLOAT, true, false, false, false),new GFXFormatInfo('RGBA32UI', 16, 4, GFXFormatType.UINT, true, false, false, false),new GFXFormatInfo('RGBA32I', 16, 4, GFXFormatType.INT, true, false, false, false),new GFXFormatInfo('R5G6B5', 2, 3, GFXFormatType.UNORM, false, false, false, false),new GFXFormatInfo('R11G11B10F', 4, 3, GFXFormatType.FLOAT, false, false, false, false),new GFXFormatInfo('RGB5A1', 2, 4, GFXFormatType.UNORM, true, false, false, false),new GFXFormatInfo('RGBA4', 2, 4, GFXFormatType.UNORM, true, false, false, false),new GFXFormatInfo('RGB10A2', 2, 4, GFXFormatType.UNORM, true, false, false, false),new GFXFormatInfo('RGB10A2UI', 2, 4, GFXFormatType.UINT, true, false, false, false),new GFXFormatInfo('RGB9E5', 2, 4, GFXFormatType.FLOAT, true, false, false, false),new GFXFormatInfo('D16', 2, 1, GFXFormatType.UINT, false, true, false, false),new GFXFormatInfo('D16S8', 3, 2, GFXFormatType.UINT, false, true, true, false),new GFXFormatInfo('D24', 3, 1, GFXFormatType.UINT, false, true, false, false),new GFXFormatInfo('D24S8', 4, 2, GFXFormatType.UINT, false, true, true, false),new GFXFormatInfo('D32F', 4, 1, GFXFormatType.FLOAT, false, true, false, false),new GFXFormatInfo('D32FS8', 5, 2, GFXFormatType.FLOAT, false, true, true, false),new GFXFormatInfo('BC1', 1, 3, GFXFormatType.UNORM, false, false, false, true),new GFXFormatInfo('BC1_ALPHA', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('BC1_SRGB', 1, 3, GFXFormatType.UNORM, false, false, false, true),new GFXFormatInfo('BC1_SRGB_ALPHA', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('BC2', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('BC2_SRGB', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('BC3', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('BC3_SRGB', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('BC4', 1, 1, GFXFormatType.UNORM, false, false, false, true),new GFXFormatInfo('BC4_SNORM', 1, 1, GFXFormatType.SNORM, false, false, false, true),new GFXFormatInfo('BC5', 1, 2, GFXFormatType.UNORM, false, false, false, true),new GFXFormatInfo('BC5_SNORM', 1, 2, GFXFormatType.SNORM, false, false, false, true),new GFXFormatInfo('BC6H_UF16', 1, 3, GFXFormatType.UFLOAT, false, false, false, true),new GFXFormatInfo('BC6H_SF16', 1, 3, GFXFormatType.FLOAT, false, false, false, true),new GFXFormatInfo('BC7', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('BC7_SRGB', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ETC_RGB8', 1, 3, GFXFormatType.UNORM, false, false, false, true),new GFXFormatInfo('ETC2_RGB8', 1, 3, GFXFormatType.UNORM, false, false, false, true),new GFXFormatInfo('ETC2_SRGB8', 1, 3, GFXFormatType.UNORM, false, false, false, true),new GFXFormatInfo('ETC2_RGB8_A1', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ETC2_SRGB8_A1', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ETC2_RGBA8', 2, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ETC2_SRGB8_A8', 2, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('EAC_R11', 1, 1, GFXFormatType.UNORM, false, false, false, true),new GFXFormatInfo('EAC_R11SN', 1, 1, GFXFormatType.SNORM, false, false, false, true),new GFXFormatInfo('EAC_RG11', 2, 2, GFXFormatType.UNORM, false, false, false, true),new GFXFormatInfo('EAC_RG11SN', 2, 2, GFXFormatType.SNORM, false, false, false, true),new GFXFormatInfo('PVRTC_RGB2', 2, 3, GFXFormatType.UNORM, false, false, false, true),new GFXFormatInfo('PVRTC_RGBA2', 2, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('PVRTC_RGB4', 2, 3, GFXFormatType.UNORM, false, false, false, true),new GFXFormatInfo('PVRTC_RGBA4', 2, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('PVRTC2_2BPP', 2, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('PVRTC2_4BPP', 2, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_RGBA_4x4', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_RGBA_5x4', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_RGBA_5x5', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_RGBA_6x5', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_RGBA_6x6', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_RGBA_8x5', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_RGBA_8x6', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_RGBA_8x8', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_RGBA_10x5', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_RGBA_10x6', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_RGBA_10x8', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_RGBA_10x10', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_RGBA_12x10', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_RGBA_12x12', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_SRGBA_4x4', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_SRGBA_5x4', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_SRGBA_5x5', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_SRGBA_6x5', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_SRGBA_6x6', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_SRGBA_8x5', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_SRGBA_8x6', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_SRGBA_8x8', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_SRGBA_10x5', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_SRGBA_10x6', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_SRGBA_10x8', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_SRGBA_10x10', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_SRGBA_12x10', 1, 4, GFXFormatType.UNORM, true, false, false, true),new GFXFormatInfo('ASTC_SRGBA_12x12', 1, 4, GFXFormatType.UNORM, true, false, false, true),])

Const GFX_DRAW_INFO_SIZE

GFX_DRAW_INFO_SIZE: number = 28

Const GFX_MAX_ATTACHMENTS

GFX_MAX_ATTACHMENTS: number = 4

Const GFX_MAX_BUFFER_BINDINGS

GFX_MAX_BUFFER_BINDINGS: number = 24

Const GFX_MAX_TEXTURE_UNITS

GFX_MAX_TEXTURE_UNITS: number = 16

Const GFX_MAX_VERTEX_ATTRIBUTES

GFX_MAX_VERTEX_ATTRIBUTES: number = 16

Const _type2size

_type2size: number[] = [0, // UNKNOWN4, // BOOL8, // BOOL212, // BOOL316, // BOOL44, // INT8, // INT212, // INT316, // INT44, // UINT8, // UINT212, // UINT316, // UINT44, // FLOAT8, // FLOAT212, // FLOAT316, // FLOAT416, // MAT224, // MAT2X332, // MAT2X424, // MAT3X236, // MAT348, // MAT3X432, // MAT4X248, // MAT4X364, // MAT44, // SAMPLER1D4, // SAMPLER1D_ARRAY4, // SAMPLER2D4, // SAMPLER2D_ARRAY4, // SAMPLER3D4, // SAMPLER_CUBE]

Functions

GFXFormatSize

  • GFXFormatSize(format: GFXFormat, width: number, height: number, depth: number): number
  • 获取指定格式对应的内存大小。

    Parameters

    • format: GFXFormat

      The target format.

    • width: number

      The target width.

    • height: number

      The target height.

    • depth: number

      The target depth.

    Returns number

GFXFormatSurfaceSize

  • GFXFormatSurfaceSize(format: GFXFormat, width: number, height: number, depth: number, mips: number): number
  • GFX 格式表面内存大小。

    Parameters

    • format: GFXFormat

      The target format.

    • width: number

      The target width.

    • height: number

      The target height.

    • depth: number

      The target depth.

    • mips: number

      The target mip levels.

    Returns number

GFXGetTypeSize

  • GFXGetTypeSize(type: GFXType): number

IsPowerOf2

  • IsPowerOf2(x: number): boolean

getTypedArrayConstructor

  • getTypedArrayConstructor(info: GFXFormatInfo): TypedArrayConstructor

Generated using TypeDoc