Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::CMaterial::SUniformTexture Struct Reference

Structure for a uniform texture parameter in the material. More...

#include <Material/CMaterial.h>

Public Member Functions

 SUniformTexture ()
 Default constructor initializing default values.
SUniformTextureclone ()
 Creates a deep copy of the uniform texture.

Public Attributes

std::string Name
 Name of the uniform texture.
std::string Path
 Path to the texture file.
ITextureTexture
 Pointer to loaded texture resource.
int TextureSlot
 Texture slot index in the shader.
int WrapU
 Wrapping mode in U direction.
int WrapV
 Wrapping mode in V direction.
int Anisotropic
 Anisotropic filtering level.
bool Trilinear
 Trilinear filtering enabled.
bool Bilinear
 Bilinear filtering enabled.

Detailed Description

Structure for a uniform texture parameter in the material.

Holds information about the texture, its name, path, slot, wrapping modes, and filtering options.

Member Function Documentation

◆ clone()

SUniformTexture * Skylicht::CMaterial::SUniformTexture::clone ( )
inline

Creates a deep copy of the uniform texture.

Returns
Pointer to a new SUniformTexture instance.

The documentation for this struct was generated from the following file: