Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "api/texture"

Index

Type aliases

ReadableTextureFormat

ReadableTextureFormat: ALPHA | RED | RG | RGB | RGBA | RED_INTEGER | RG_INTEGER | RGB_INTEGER | RGBA_INTEGER

Functions

Const $

  • $(format: TextureFormat, types: (TextureType | number)[], num: number, render?: boolean, filter?: boolean, renderExt?: boolean): { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] }
  • Parameters

    • format: TextureFormat
    • types: (TextureType | number)[]
    • num: number
    • Default value render: boolean = false
    • Default value filter: boolean = false
    • Default value renderExt: boolean = render

    Returns { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] }

    • filter: boolean
    • format: TextureFormat
    • num: number
    • render: boolean
    • renderExt: boolean
    • types: number[]

Object literals

Const TEX_FORMATS

TEX_FORMATS: object

[TextureFormat.ALPHA]

[TextureFormat.ALPHA]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.ALPHA,[TextureType.UNSIGNED_BYTE,1,TextureType.HALF_FLOAT,2,TextureType.HALF_FLOAT_OES,2,TextureType.FLOAT,4,],1,true,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.DEPTH24_STENCIL8]

[TextureFormat.DEPTH24_STENCIL8]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.DEPTH_STENCIL,[TextureType.UNSIGNED_INT_24_8, 4],1,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.DEPTH32F_STENCIL8]

[TextureFormat.DEPTH32F_STENCIL8]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.DEPTH_STENCIL,[TextureType.FLOAT_32_UNSIGNED_INT_24_8_REV, 4],1,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.DEPTH_COMPONENT16]

[TextureFormat.DEPTH_COMPONENT16]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.DEPTH_COMPONENT,[TextureType.UNSIGNED_SHORT, 2, TextureType.UNSIGNED_INT, 4],1,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.DEPTH_COMPONENT24]

[TextureFormat.DEPTH_COMPONENT24]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.DEPTH_COMPONENT,[TextureType.UNSIGNED_INT, 4],1,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.DEPTH_COMPONENT32F]

[TextureFormat.DEPTH_COMPONENT32F]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.DEPTH_COMPONENT,[TextureType.FLOAT, 4],1,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.DEPTH_COMPONENT]

[TextureFormat.DEPTH_COMPONENT]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.DEPTH_COMPONENT,[TextureType.UNSIGNED_SHORT, 2, TextureType.UNSIGNED_INT, 4],1,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.DEPTH_STENCIL]

[TextureFormat.DEPTH_STENCIL]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.DEPTH_STENCIL,[TextureType.UNSIGNED_INT_24_8, 4],1,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.LUMINANCE]

[TextureFormat.LUMINANCE]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.LUMINANCE,[TextureType.UNSIGNED_BYTE,1,TextureType.HALF_FLOAT,2,TextureType.HALF_FLOAT_OES,2,TextureType.FLOAT,4,],1,true,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.LUMINANCE_ALPHA]

[TextureFormat.LUMINANCE_ALPHA]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.LUMINANCE_ALPHA,[TextureType.UNSIGNED_BYTE,2,TextureType.HALF_FLOAT,4,TextureType.HALF_FLOAT_OES,4,TextureType.FLOAT,8,],2,true,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.R11F_G11F_B10F]

[TextureFormat.R11F_G11F_B10F]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGB,[TextureType.FLOAT,12,TextureType.HALF_FLOAT,6,TextureType.UNSIGNED_INT_10F_11F_11F_REV,4,],3,false,true,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.R16F]

[TextureFormat.R16F]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RED,[TextureType.FLOAT, 4, TextureType.HALF_FLOAT, 2],1,false,true,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.R16I]

[TextureFormat.R16I]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RED_INTEGER,[TextureType.SHORT, 2],1,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.R16UI]

[TextureFormat.R16UI]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RED_INTEGER,[TextureType.UNSIGNED_SHORT, 2],1,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.R32F]

[TextureFormat.R32F]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RED,[TextureType.FLOAT, 4],1,false,false,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.R32I]

[TextureFormat.R32I]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RED_INTEGER,[TextureType.INT, 4],1,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.R32UI]

[TextureFormat.R32UI]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RED_INTEGER,[TextureType.UNSIGNED_INT, 4],1,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.R8I]

[TextureFormat.R8I]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RED_INTEGER,[TextureType.BYTE, 1],1,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.R8UI]

[TextureFormat.R8UI]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RED_INTEGER,[TextureType.UNSIGNED_BYTE, 1],1,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.R8]

[TextureFormat.R8]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RED,[TextureType.UNSIGNED_BYTE, 1],1,true,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.R8_SNORM]

[TextureFormat.R8_SNORM]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RED,[TextureType.BYTE, 1],1,false,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RG16F]

[TextureFormat.RG16F]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RG,[TextureType.FLOAT, 8, TextureType.HALF_FLOAT, 4],2,false,true,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RG16I]

[TextureFormat.RG16I]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RG_INTEGER,[TextureType.SHORT, 4],2,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RG16UI]

[TextureFormat.RG16UI]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RG_INTEGER,[TextureType.UNSIGNED_SHORT, 4],2,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RG32F]

[TextureFormat.RG32F]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RG,[TextureType.FLOAT, 8],2,false,false,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RG32I]

[TextureFormat.RG32I]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RG_INTEGER,[TextureType.INT, 8],2,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RG32UI]

[TextureFormat.RG32UI]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RG_INTEGER,[TextureType.UNSIGNED_INT, 8],2,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RG8I]

[TextureFormat.RG8I]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RG_INTEGER,[TextureType.BYTE, 2],2,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RG8UI]

[TextureFormat.RG8UI]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RG_INTEGER,[TextureType.UNSIGNED_BYTE, 2],2,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RG8]

[TextureFormat.RG8]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RG,[TextureType.UNSIGNED_BYTE, 2],2,true,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RG8_SNORM]

[TextureFormat.RG8_SNORM]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RG,[TextureType.BYTE, 2],2,false,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGB10_A2UI]

[TextureFormat.RGB10_A2UI]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGBA_INTEGER,[TextureType.UNSIGNED_INT_2_10_10_10_REV, 4],4,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGB10_A2]

[TextureFormat.RGB10_A2]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGBA,[TextureType.UNSIGNED_INT_2_10_10_10_REV, 4],4,true,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGB16F]

[TextureFormat.RGB16F]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGB,[TextureType.FLOAT, 12, TextureType.HALF_FLOAT, 6],3,false,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGB16I]

[TextureFormat.RGB16I]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGB_INTEGER,[TextureType.SHORT, 6],3)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGB16UI]

[TextureFormat.RGB16UI]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGB_INTEGER,[TextureType.UNSIGNED_SHORT, 6],3)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGB32F]

[TextureFormat.RGB32F]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGB, [TextureType.FLOAT, 12], 3)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGB32I]

[TextureFormat.RGB32I]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGB_INTEGER,[TextureType.INT, 12],3)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGB32UI]

[TextureFormat.RGB32UI]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGB_INTEGER,[TextureType.UNSIGNED_INT, 12],3)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGB565]

[TextureFormat.RGB565]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGB,[TextureType.UNSIGNED_BYTE, 3, TextureType.UNSIGNED_SHORT_5_6_5, 2],3,true,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGB5_A1]

[TextureFormat.RGB5_A1]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGBA,[TextureType.UNSIGNED_BYTE,4,TextureType.UNSIGNED_SHORT_5_5_5_1,2,TextureType.UNSIGNED_INT_2_10_10_10_REV,4,],4,true,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGB8I]

[TextureFormat.RGB8I]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGB_INTEGER,[TextureType.BYTE, 3],3)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGB8UI]

[TextureFormat.RGB8UI]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGB_INTEGER,[TextureType.UNSIGNED_BYTE, 3],3)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGB8]

[TextureFormat.RGB8]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGB,[TextureType.UNSIGNED_BYTE, 3],3,true,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGB8_SNORM]

[TextureFormat.RGB8_SNORM]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGB,[TextureType.BYTE, 3],3,false,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGB9_E5]

[TextureFormat.RGB9_E5]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGB,[TextureType.FLOAT,12,TextureType.HALF_FLOAT,6,TextureType.UNSIGNED_INT_5_9_9_9_REV,4,],3,false,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGBA16F]

[TextureFormat.RGBA16F]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGBA,[TextureType.FLOAT, 16, TextureType.HALF_FLOAT, 8],4,false,true,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGBA16I]

[TextureFormat.RGBA16I]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGBA_INTEGER,[TextureType.SHORT, 8],4,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGBA16UI]

[TextureFormat.RGBA16UI]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGBA_INTEGER,[TextureType.UNSIGNED_SHORT, 8],4,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGBA32F]

[TextureFormat.RGBA32F]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGBA,[TextureType.FLOAT, 16],4,false,false,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGBA32I]

[TextureFormat.RGBA32I]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGBA_INTEGER,[TextureType.INT, 16],4,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGBA32UI]

[TextureFormat.RGBA32UI]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGBA_INTEGER,[TextureType.UNSIGNED_INT, 16],4,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGBA4]

[TextureFormat.RGBA4]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGBA,[TextureType.UNSIGNED_BYTE, 4, TextureType.UNSIGNED_SHORT_4_4_4_4, 2],4,true,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGBA8I]

[TextureFormat.RGBA8I]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGBA_INTEGER,[TextureType.BYTE, 4],4,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGBA8UI]

[TextureFormat.RGBA8UI]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGBA_INTEGER,[TextureType.UNSIGNED_BYTE, 4],4,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGBA8]

[TextureFormat.RGBA8]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGBA,[TextureType.UNSIGNED_BYTE, 4],4,true,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGBA8_SNORM]

[TextureFormat.RGBA8_SNORM]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGBA,[TextureType.BYTE, 4],4,false,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGBA]

[TextureFormat.RGBA]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGBA,[TextureType.UNSIGNED_BYTE,4,TextureType.HALF_FLOAT,8,TextureType.HALF_FLOAT_OES,8,TextureType.FLOAT,16,TextureType.UNSIGNED_SHORT_4_4_4_4,2,TextureType.UNSIGNED_SHORT_5_5_5_1,2,],4,true,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.RGB]

[TextureFormat.RGB]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGB,[TextureType.UNSIGNED_BYTE,3,TextureType.HALF_FLOAT,6,TextureType.HALF_FLOAT_OES,6,TextureType.FLOAT,12,TextureType.UNSIGNED_SHORT_5_6_5,2,],3,true,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.SRGB8]

[TextureFormat.SRGB8]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGB,[TextureType.UNSIGNED_BYTE, 3],3,false,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

[TextureFormat.SRGB8_ALPHA8]

[TextureFormat.SRGB8_ALPHA8]: { filter: boolean; format: TextureFormat; num: number; render: boolean; renderExt: boolean; types: number[] } = $(TextureFormat.RGBA,[TextureType.UNSIGNED_BYTE, 4],4,true,true)

Type declaration

  • filter: boolean
  • format: TextureFormat
  • num: number
  • render: boolean
  • renderExt: boolean
  • types: number[]

Generated using TypeDoc