Skip to main content

@novorender/api / RenderStateDynamicTextureReference

Interface: RenderStateDynamicTextureReference

Defined in: @novorender/src/core3d/state/dynamic.ts:63

Texture reference state.

Extended by

Properties

texCoord?

readonly optional texCoord: 0 | 1;

Defined in: @novorender/src/core3d/state/dynamic.ts:70

What set of texture coordinates to use (0 or 1).

Default Value

0

texture

readonly texture: RenderStateDynamicTexture;

Defined in: @novorender/src/core3d/state/dynamic.ts:65

What texture to use.


transform?

readonly optional transform: ReadonlyMat3;

Defined in: @novorender/src/core3d/state/dynamic.ts:75

Optional texture coordinate 3x3 transformation matrix

Default Value

Identity matrix.