#include <RadientStandardMaterialParameters.h>
Public Attributes | |
| IRadientTextureAsset * | pTexture = nullptr |
| Int32 | UVSelector = -1 |
| Texture-coordinate set index, or -1 to disable sampling. The C++ default is -1. | |
| RadientFloat2 | UVScale = {1.f, 1.f} |
| UV scale applied before rotation and translation. The C++ default is (1, 1). | |
| Float32 | UVRotation = 0.f |
| Counter-clockwise UV rotation in radians. The C++ default is zero. | |
| RadientFloat2 | UVBias = {} |
| UV translation applied after scale and rotation. The C++ default is (0, 0). | |
| RADIENT_MATERIAL_TEXTURE_ADDRESS_MODE | WrapU = RADIENT_MATERIAL_TEXTURE_ADDRESS_MODE_WRAP |
| U address mode. The C++ default is WRAP. | |
| RADIENT_MATERIAL_TEXTURE_ADDRESS_MODE | WrapV = RADIENT_MATERIAL_TEXTURE_ADDRESS_MODE_WRAP |
| V address mode. The C++ default is WRAP. | |
Values of the seven parameters that define one standard-material texture semantic. SetStandardMaterialTextureParameters uses the definition-provided fallback texture when pTexture is null.
C++ default construction disables sampling (UVSelector = -1). Construction with a non-null texture selects UV set 0. C callers initialize all members explicitly; zero-initialization alone does not supply the C++ defaults.
| IRadientTextureAsset* Diligent::RadientStandardMaterialTextureParameters::pTexture = nullptr |
Texture to assign, or null to select the definition-provided fallback. The descriptor does not retain the texture. The writer retains it when set.