Options
All
  • Public
  • Public/Protected
  • All
Menu

External module material

Index

Type aliases

MaterialProperty

MaterialProperty: number | Vec2 | Vec3 | Vec4 | Color | Mat3 | Mat4 | Quat

MaterialPropertyFull

MaterialPropertyFull: MaterialProperty | TextureBase | SpriteFrame | GFXTextureView | null

PassOverrides

PassOverrides: RecursivePartial<IPassStates>

Variables

Const bindingMask

bindingMask: 4177920 = 4177920

Const btMask

btMask: 4026531840 = 4026531840

Const defaultValues

defaultValues: ReadonlyArray<number>[] = [Object.freeze([0]),Object.freeze([0, 0]),Object.freeze([0, 0, 0, 0]),Object.freeze([1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]),]

Const effects

effects: Record<string, EffectAsset>

Const offsetMask

offsetMask: 16383 = 16383

Const programLib

programLib: ProgramLib = new ProgramLib()

Const typeMask

typeMask: 264241152 = 264241152

Functions

assignDefines

Const customizeType

  • customizeType(handle: number, type: GFXType): number

dependencyCheck

  • dependencyCheck(dependencies: string[], defines: IDefineMap): boolean

Const genHandle

genHandles

Const getBindingFromHandle

  • getBindingFromHandle(handle: number): number

Const getBindingTypeFromHandle

  • getBindingTypeFromHandle(handle: number): number

getBitCount

  • getBitCount(cnt: number): number

getDefaultFromType

  • getDefaultFromType(type: GFXType): ReadonlyArray<number> | "default-texture" | "default-cube-texture"

Const getOffsetFromHandle

  • getOffsetFromHandle(handle: number): number

getShaderBindings

getShaderInstanceName

  • getShaderInstanceName(name: string, macros: IMacroInfo[]): string

getSize

Const getTypeFromHandle

  • getTypeFromHandle(handle: number): number

insertBuiltinBindings

mapDefine

  • mapDefine(info: IDefineInfo, def: number | string | boolean): string

prepareDefines

serializeBlendState

serializeDepthStencilState

serializeRasterizerState

Object literals

Const bfInfo

bfInfo: object

memUsage

memUsage: number = GFXMemoryUsageBit.HOST | GFXMemoryUsageBit.DEVICE

size

size: number = 0

usage

usage: number = GFXBufferUsageBit.UNIFORM | GFXBufferUsageBit.TRANSFER_DST

Const blInfo

blInfo: object

bindings

bindings: never = null!

Const plInfo

plInfo: object

layouts

layouts: never = null!

Const psoInfo

psoInfo: object

blendState

blendState: never = null!

defines

defines: never = null!

depthStencilState

depthStencilState: never = null!

dynamicStates

dynamicStates: never = null!

hash

hash: number = 0

inputState

inputState: never = null!

layout

layout: never = null!

primitive

primitive: 0 = 0

program

program: string = ""

rasterizerState

rasterizerState: never = null!

renderPass

renderPass: never = null!

shader

shader: never = null!

stage

stage: 0 = 0

Const type2reader

type2reader: object

computed

  • computed(a: Float32Array, v: any, idx?: number): void
  • computed(a: Float32Array, v: any, idx?: number): number
  • computed(a: Float32Array, v: any, idx?: number): any
  • computed(a: Float32Array, v: any, idx?: number): any
  • computed(a: Float32Array, v: any, idx?: number): any
  • computed(a: Float32Array, v: any, idx?: number): number
  • computed(a: Float32Array, v: any, idx?: number): any
  • computed(a: Float32Array, v: any, idx?: number): any
  • computed(a: Float32Array, v: any, idx?: number): any
  • computed(a: Float32Array, v: any, idx?: number): any
  • computed(a: Float32Array, v: any, idx?: number): any

Const type2writer

type2writer: object

computed

  • computed(a: Float32Array, v: any, idx?: number): void
  • computed(a: Float32Array, v: any, idx?: number): any
  • computed(a: Float32Array, v: any, idx?: number): Float32Array
  • computed(a: Float32Array, v: any, idx?: number): Float32Array
  • computed(a: Float32Array, v: any, idx?: number): Float32Array
  • computed(a: Float32Array, v: any, idx?: number): any
  • computed(a: Float32Array, v: any, idx?: number): Float32Array
  • computed(a: Float32Array, v: any, idx?: number): Float32Array
  • computed(a: Float32Array, v: any, idx?: number): Float32Array
  • computed(a: Float32Array, v: any, idx?: number): Float32Array
  • computed(a: Float32Array, v: any, idx?: number): Float32Array

Generated using TypeDoc