Texture description for wis::Texture creation.
uint32_t mip_levels = 1;
};
TextureLayout
Texture layout. Determines how texture will be accessed.
@ Texture2D
Texture is 2D image, default texture type.
TextureUsage
Texture usage flags. Determine how the texture can be used throughout its lifetime.
@ None
No flags set. Texture is not used.
SampleRate
Sample rate for multisampling.
DataFormat
Data format for data. Used as a template for data in several cases. Can be used to describe:
Texture description for wis::Texture creation.
Definition at line 1789 of file api.hpp.
#include <api.hpp>
◆ format
Texture pixel/block format.
Definition at line 1790 of file api.hpp.
◆ layout
◆ mip_levels
uint32_t wis::TextureDesc::mip_levels = 1 |
Mip levels count. Default is 1.
Definition at line 1792 of file api.hpp.
◆ sample_count
◆ size
◆ usage
Texture usage flags.
Definition at line 1795 of file api.hpp.
The documentation for this struct was generated from the following file:
- /home/runner/work/Wisdom/Wisdom/wisdom/include/wisdom/generated/api/api.hpp