Options
All
  • Public
  • Public/Protected
  • All
Menu

External module pipeline

Index

Variables

Const CameraDefaultMask

CameraDefaultMask: number = Layers.makeMaskExclude([Layers.BitMask.UI_2D, Layers.BitMask.GIZMOS, Layers.BitMask.EDITOR,Layers.BitMask.SCENE_GIZMO, Layers.BitMask.PROFILER])

Const CameraEditorMask

CameraEditorMask: number = Layers.makeMaskExclude([Layers.BitMask.UI_2D, Layers.BitMask.PROFILER])

Const JointUniformCapacity

JointUniformCapacity: 30 = 30

Const MAX_BINDING_SUPPORTED

MAX_BINDING_SUPPORTED: 24 = 24

Const ModelAlwaysMask

ModelAlwaysMask: number = Layers.Enum.ALL

Const PIPELINE_FLOW_FORWARD

PIPELINE_FLOW_FORWARD: string = "ForwardFlow"

Const PIPELINE_FLOW_SMAA

PIPELINE_FLOW_SMAA: string = "SMAAFlow"

Const PIPELINE_FLOW_TONEMAP

PIPELINE_FLOW_TONEMAP: string = "ToneMapFlow"

Const _colors

_colors: IGFXColor[] = [ { r: 0, g: 0, b: 0, a: 1 } ]

Const bufs

bufs: GFXCommandBuffer[] = []

Const localBindingsDesc

localBindingsDesc: Map<string, IInternalBindingDesc> = new Map<string, IInternalBindingDesc>()

Const v3_1

v3_1: Vec3 = new Vec3()

Functions

LinearToSRGB

  • 线性空间转换为SRGB颜色空间。

    Parameters

    Returns void

SRGBToLinear

  • SRGB颜色空间转换为线性空间。

    Parameters

    Returns void

Const isBuiltinBinding

  • isBuiltinBinding(binding: number): boolean
  • Parameters

    • binding: number

    Returns boolean

opaqueCompareFn

  • 比较排序函数。不透明对象按优先级 -> 深度由前向后 -> ShaderId 顺序排序。

    Parameters

    Returns number

transparentCompareFn

  • 比较排序函数。半透明对象按优先级 -> 深度由后向前 -> ShaderId 顺序排序。

    Parameters

    Returns number

Object literals

Const UNIFORMENVIRONMENT

UNIFORMENVIRONMENT: object

binding

binding: UniformBinding = UniformBinding.SAMPLER_ENVIRONMENT

count

count: number = 1

name

name: string = "cc_environment"

type

type: SAMPLER_CUBE = GFXType.SAMPLER_CUBE

Const UniformJointsTexture

UniformJointsTexture: object

骨骼纹理采样器。

binding

binding: UniformBinding = UniformBinding.SAMPLER_JOINTS

count

count: number = 1

name

name: string = "cc_jointsTexture"

type

type: SAMPLER2D = GFXType.SAMPLER2D

Generated using TypeDoc