Diligent Engine
Loading...
Searching...
No Matches
Diligent::RadientMaterialShaderTexturePacking Struct Reference

#include <RadientMaterialDefinitionImpl.hpp>

Public Attributes

Uint32 UVScaleParameterIndex = ~Uint32{0}

Detailed Description

Packs one texture parameter and its UV selector and address modes into a shader texture-attribute record. Optional scale and rotation parameters are composed into its UV matrix; bias uses an ordinary parameter mapping.

Member Data Documentation

◆ UVScaleParameterIndex

Uint32 Diligent::RadientMaterialShaderTexturePacking::UVScaleParameterIndex = ~Uint32{0}

Optional FLOAT2 scale and FLOAT rotation (radians). Both indices must be specified together. If omitted, this command leaves the UV matrix intact, allowing a custom material to supply it through an ordinary mapping.