Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@baobao
Last active December 7, 2018 02:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baobao/da491245225691c0a351aee5b57bf9ed to your computer and use it in GitHub Desktop.
Save baobao/da491245225691c0a351aee5b57bf9ed to your computer and use it in GitHub Desktop.
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