# Shader Reflection ```{literalinclude} ../../lib/gorilla/shader_reflection.cpp :language: cpp :caption: ``` ## シェーダー変数 変数のスロット番号とサイズを得る。 vs, gs, ps 等ステージごとに管理する。 ### ConstantBuffer ### TextureSlot ### SamplerSlot ## インプットレイアウト `ID3D11InputLayout` を自動生成する。