Skip to content

Instantly share code, notes, and snippets.

@baobao
Last active Dec 7, 2018
Embed
What would you like to do?
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