candlewick 0.1.0
A renderer
|
Go to the source code of this file.
Classes | |
class | candlewick::MeshLayout |
This class defines the layout of a mesh's vertices. More... | |
Namespaces | |
namespace | candlewick |
Concepts | |
concept | candlewick::IsVertexType |
Basic concept checking if type V has the correct layout and alignment requirements to be a vertex element. | |
Macros | |
#define | _c(field) |
#define | _c(field) |
Enumerations | |
enum class | candlewick::VertexAttrib : Uint16 { candlewick::Position , candlewick::Normal , candlewick::Tangent , candlewick::Bitangent , candlewick::Color0 , candlewick::Color1 , candlewick::TexCoord0 , candlewick::TexCoord1 } |
Fixed vertex attributes. More... | |
Functions | |
bool | operator== (const SDL_GPUVertexBufferDescription &lhs, const SDL_GPUVertexBufferDescription &rhs) |
bool | operator== (const SDL_GPUVertexAttribute &lhs, const SDL_GPUVertexAttribute &rhs) |
constexpr Uint64 | candlewick::vertexElementSize (SDL_GPUVertexElementFormat format) |
bool | candlewick::validateMeshLayout (const MeshLayout &layout) |
Validation function. Checks if a MeshLayout produces invalid data for a Mesh. | |
template<IsVertexType V> | |
MeshLayout | candlewick::meshLayoutFor () |
Shortcut for extracting layout from compile-time struct. | |
#define _c | ( | field | ) |
#define _c | ( | field | ) |
|
inline |
|
inline |