Skip to content

core.TypeAlias.QuadRendererOptions

github-actions[bot] edited this page Sep 3, 2024 · 6 revisions

@monogrid/gainmap-js / core / QuadRendererOptions

Type Alias: QuadRendererOptions<TType, TMaterial>

QuadRendererOptions<TType, TMaterial>: object

Type Parameters

TType extends TextureDataType

TMaterial extends Material

Type declaration

colorSpace

colorSpace: ColorSpace

ColorSpace of the renderTarget

height

height: number

height of the renderTarget

material

material: TMaterial

material to use for rendering

renderTargetOptions?

optional renderTargetOptions: QuadRendererTextureOptions

Additional renderTarget options

renderer?

optional renderer: WebGLRenderer

Renderer instance to use

type

type: TType

TextureDataType of the renderTarget

width

width: number

Width of the render target

Defined in

src/core/QuadRenderer.ts:48

Clone this wiki locally