Interfaccia ID3D10ShaderReflectionConstantBuffer (d3d10shader.h)
Questa interfaccia di reflection shader consente l'accesso a un buffer costante.
Metodi
L'interfaccia ID3D10ShaderReflectionConstantBuffer include questi metodi.
ID3D10ShaderReflectionConstantBuffer::GetDesc Ottenere una descrizione del buffer costante. (ID3D10ShaderReflectionConstantBuffer.GetDesc) |
ID3D10ShaderReflectionConstantBuffer::GetVariableByIndex Il metodo ID3D10ShaderReflectionConstantBuffer::GetVariableByIndex (d3d10shader.h) ottiene una variabile shader-reflection per indice. |
ID3D10ShaderReflectionConstantBuffer::GetVariableByName Ottenere una variabile shader-reflection in base al nome. (ID3D10ShaderReflectionConstantBuffer.GetVariableByName) |
Commenti
Per creare un'interfaccia del buffer costante, chiamare ID3D10ShaderReflection::GetConstantBufferByIndex o ID3D10ShaderReflection::GetConstantBufferByName. Non si tratta di un'interfaccia COM; pertanto, non è necessario preoccuparsi del conteggio dei riferimenti o del rilascio dell'interfaccia al termine dell'operazione.
Requisiti
Requisito | Valore |
---|---|
Piattaforma di destinazione | Windows |
Intestazione | d3d10shader.h |