mirror of
https://github.com/AxioDL/boo.git
synced 2025-05-16 20:31:29 +00:00
IGraphicsDataFactory: Default initialize semantic for VertexElementDescriptor
Makes initialization deterministic for the default constructor.
This commit is contained in:
parent
2b63413369
commit
3ea95d9483
@ -118,7 +118,7 @@ ENABLE_BITWISE_ENUM(VertexSemantic)
|
|||||||
|
|
||||||
/** Used to create IVertexFormat */
|
/** Used to create IVertexFormat */
|
||||||
struct VertexElementDescriptor {
|
struct VertexElementDescriptor {
|
||||||
VertexSemantic semantic;
|
VertexSemantic semantic{};
|
||||||
int semanticIdx = 0;
|
int semanticIdx = 0;
|
||||||
VertexElementDescriptor() = default;
|
VertexElementDescriptor() = default;
|
||||||
VertexElementDescriptor(VertexSemantic s, int idx = 0) : semantic(s), semanticIdx(idx) {}
|
VertexElementDescriptor(VertexSemantic s, int idx = 0) : semantic(s), semanticIdx(idx) {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user