On this page

Class Context

Index

Constructors

Properties

activeTexture: ActiveTextureUnit
bindElementBuffer: BindElementBuffer
bindFramebuffer: BindFramebuffer
bindRenderbuffer: BindRenderbuffer
bindTexture: BindTexture
bindVertexArray: BindVertexArray
bindVertexBuffer: BindVertexBuffer
blend: Blend
blendColor: BlendColor
blendEquation: BlendEquation
blendFunc: BlendFunc
clearColor: ClearColor
clearDepth: ClearDepth
clearStencil: ClearStencil
colorMask: ColorMask
cullFace: CullFace
cullFaceSide: CullFaceSide
currentNumAttributes: number
depthFunc: DepthFunc
depthMask: DepthMask
depthRange: DepthRange
depthTest: DepthTest
extTextureFilterAnisotropic: EXT_texture_filter_anisotropic | null
extTextureFilterAnisotropicMax?: number
frontFace: FrontFace
HALF_FLOAT?: number
maxTextureSize: number
pixelStoreUnpack: PixelStoreUnpack
pixelStoreUnpackFlipY: PixelStoreUnpackFlipY
pixelStoreUnpackPremultiplyAlpha: PixelStoreUnpackPremultiplyAlpha
program: ProgramValue
RGB16F?: number
RGBA16F?: number
stencilFunc: StencilFunc
stencilMask: StencilMask
stencilOp: StencilOp
stencilTest: StencilTest
viewport: Viewport

Methods

  • Parameters

    Returns void

  • Parameters

    • width: number
    • height: number
    • hasDepth: boolean
    • hasStencil: boolean

    Returns Framebuffer

  • Parameters

    • storageFormat: number
    • width: number
    • height: number

    Returns WebGLRenderbuffer

  • Returns void

  • Returns void

  • Returns void

Was this helpful?
SDK JS
Reference
Context