Last active
December 7, 2018 02:39
-
-
Save baobao/da491245225691c0a351aee5b57bf9ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vertexLayout = new InputLayout( | |
device, | |
effect.GetTechniqueByIndex(0).GetPassByIndex(0).Description.Signature, | |
new InputElement[] | |
{ | |
new InputElement() | |
{ | |
// SV_Positionは座標として使用する宣言 | |
SemanticName = "SV_Position", | |
// Float型精度のフォーマットとして使用する | |
Format = Format.R32G32B32_Float | |
} | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment