VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
visutwin::canvas::TextureSlot Struct Reference

#include <scene/materials/material.h>

Public Attributes

int slot = -1
Texturetexture = nullptr

Detailed Description

Describes a texture that a material wants bound to a specific fragment shader slot.

Definition at line 127 of file material.h.

Member Data Documentation

◆ slot

int visutwin::canvas::TextureSlot::slot = -1

Definition at line 129 of file material.h.

◆ texture

Texture* visutwin::canvas::TextureSlot::texture = nullptr

Definition at line 130 of file material.h.


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