Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ProgramProps<I, O>

Type Parameters

  • I

  • O

Hierarchy

Index

Properties

vertexShader: string

Vertex shader source code.

remarks

The shader is expected to be GLES 3.0 compatible.

fragmentShader: string

Fragment shader source code.

remarks

The shader is expected to be GLES 3.0 compatible.

introspection: I

Static program introspection object, detailing UBO layouts and texture usage.

remarks

This is automatically exported by @gdgt/hlsl-loader.

context?: Context

Context override

defaultvalue

defaultContext

ubos?: O

Existing buffers to be (re)used as UBOs. Every UBO defined in the introspection and not present in this list is considered program specific and will be automatically created.

remarks

Members will not be accessible via the programs ubo property.

Generated using TypeDoc