opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
liboscar
graphics
vertex_attribute_format.h
Go to the documentation of this file.
1
#pragma once
2
3
namespace
osc
4
{
5
enum class
VertexAttributeFormat
{
6
// two single-precision floats
7
Float32x2
,
8
9
// three single-precision floats
10
Float32x3
,
11
12
// four single-precision floats
13
Float32x4
,
14
15
// four unsigned bytes, [0, 255], converted to floats [0.0, 1.0] when loaded into a shader
16
Unorm8x4
,
17
18
// four signed bytes, [-128, 127], converted to floats [-1.0f, 1.0f] when loaded into a shader
19
Snorm8x4
,
20
21
NUM_OPTIONS
,
22
};
23
}
osc
Definition
custom_decoration_generator.h:5
osc::BlendingEquation::NUM_OPTIONS
@ NUM_OPTIONS
osc::VertexAttributeFormat
VertexAttributeFormat
Definition
vertex_attribute_format.h:5
osc::VertexAttributeFormat::Snorm8x4
@ Snorm8x4
osc::VertexAttributeFormat::Float32x2
@ Float32x2
osc::VertexAttributeFormat::Float32x4
@ Float32x4
osc::VertexAttributeFormat::Unorm8x4
@ Unorm8x4
osc::VertexAttributeFormat::Float32x3
@ Float32x3
Generated by
1.9.8