Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GFXShader

GFX着色器。

Hierarchy

Index

Constructors

constructor

Properties

Protected _blocks

_blocks: GFXUniformBlock[] = []

着色器Uniform块数组。

Protected _device

_device: GFXDevice

GFX设备。

Protected _gfxType

_gfxType: GFXObjectType = GFXObjectType.UNKNOWN

对象类型。

Protected _id

_id: number

着色器id。

Protected _name

_name: string = ""

着色器名称。

Protected _samplers

_samplers: GFXUniformSampler[] = []

着色器Uniform采样器数组。

Protected _stages

_stages: IGFXShaderStage[] = []

着色器阶段数组。

Protected _status

_status: GFXStatus = GFXStatus.UNREADY

对象状态。

Accessors

gfxType

id

  • get id(): number

name

  • get name(): string

status

Methods

Abstract destroy

  • destroy(): any

Abstract initialize

Generated using TypeDoc