mirror of https://github.com/AxioDL/boo.git
Merge pull request #24 from lioncash/ctor
IGraphicsDataFactory: Default initialize semantic for VertexElementDescriptor
This commit is contained in:
commit
b67eb2ba06
|
@ -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…
Reference in New Issue