Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Shader

GFX 着色器。

Hierarchy

Index

Constructors

constructor

Properties

Protected _attributes

_attributes: Attribute[] = []

Protected _blocks

_blocks: UniformBlock[] = []

Protected _device

_device: Device

Protected _gfxType

_gfxType: ObjectType = ObjectType.UNKNOWN

Protected _id

_id: number

Protected _name

_name: string = ""

Protected _samplers

_samplers: UniformSampler[] = []

Protected _stages

_stages: ShaderStage[] = []

Static Private _shaderIdGen

_shaderIdGen: number = 0

Accessors

attributes

blocks

gfxType

id

  • get id(): number

name

  • get name(): string

samplers

Methods

Abstract destroy

  • destroy(): void

Abstract initialize

Generated using TypeDoc