Options
All
  • Public
  • Public/Protected
  • All
Menu

Options to create an EffectWrapper

Hierarchy

  • EffectWrapperCreationOptions

Index

Properties

attributeNames?: string[]

Attributes to use in the shader

defines?: string[]

Defines to use in the shader

engine: ThinEngine

Engine to use to create the effect

fragmentShader: string

Fragment shader for the effect

name?: string

The friendly name of the effect displayed in Spector.

onCompiled?: Nullable<(effect: Effect) => void>

Callback when effect is compiled

samplerNames?: string[]

Texture sampler names to use in the shader

shaderLanguage?: ShaderLanguage

The language the shader is written in (default: GLSL)

uniformNames?: string[]

Uniforms to use in the shader

useShaderStore?: boolean

Use the shader store instead of direct source code

vertexShader?: string

Vertex shader for the effect

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme