Skip to content

RenderOptions<Context extends UniformContext = UniformContext>

ts
type RenderOptions<Context extends UniformContext = UniformContext> =
  RawRenderOptions & {
    context?: Readonly<Context>;
  };

Options shared by raw and managed render functions.

Type Declaration

NameTypeDescription
context?Readonly<Context>Context passed to function-valued uniforms by managed passes.

Type Parameters

Context

Context extends UniformContext = UniformContext

Released under the MIT License.