TextureInfo

Structure representing the needed information for the usage of a material texture.

File location: framework/cauldron/framework/inc/render/material.h

Detailed description

Structure representing the needed information for the usage of a material texture.

Data fields

Type

Description

const Texture *

pTexture
The “Texture“ resource pointer to the backing resource.

float

Multiplier
The scale or strength depending on texture type.

uint32_t

UVSet
The uv set associated with this texture.

SamplerDesc

TexSamplerDesc
A sampler description for the needed sampler to read the texture as intended for a given material.