stf.texture

Information on how an image is to be converted into a GPU texture.

Properties

Key

Required

Type

Description

width

Yes

int

Width of the resulting GPU texture

height

Yes

int

Height of the resulting GPU texture

downscale_priority

Yes

int

In case of an enforced memory limit, how quickly should the resolution of the resulting GPU texture reduced.

quality

Yes

float

Indicate how much the GPU texture can be compressed. Value range is from 0 to 1. 1 means not compression should be used.

mipmaps

Yes

bool

Whether to generate mipmaps

Implementations

Blender

Codeberg

GitHub

Unity

Codeberg

GitHub

Godot

TBD

Json Example

"f0aa405c-8548-453d-8758-516e5c43d45e": {
	"type": "stf.texture",
	"width": 1024,
	"height": 1024,
	"downscale_priority": 0,
	"quality": 0.800000011920929,
	"mipmaps": true
}