-
struct
SGFXAPI::MeshTexture¶ Just a container that bundles together the texture, texture unit, sampler, and texture name (for retrieval in the shader).
Public Members
-
std::shared_ptr<TextureUnit>
texture_unit¶ store the texture unit here
-
std::shared_ptr<TextureSampler>
sampler¶ store the sampler here
-
std::string
sampler_name¶ give the sampler a name, this is the name that will be passed into the shader
-
std::shared_ptr<TextureUnit>