![]()  | 
  
    MAGE
    v0.171.0
    
   Matthias Advanced Game Engine 
   | 
 
#include <pipeline.hpp>
Static Public Member Functions | |
| static void | BindShader (ID3D11DeviceContext &device_context, ID3D11DomainShader *shader) noexcept | 
| static void | BindShader (ID3D11DeviceContext &device_context, ID3D11DomainShader *shader, ID3D11ClassInstance *const *class_instances, U32 nb_class_instances) noexcept | 
| static void | BindConstantBuffer (ID3D11DeviceContext &device_context, U32 slot, ID3D11Buffer *buffer) noexcept | 
| static void | BindConstantBuffers (ID3D11DeviceContext &device_context, U32 slot, U32 nb_buffers, ID3D11Buffer *const *buffers) noexcept | 
| static void | BindSRV (ID3D11DeviceContext &device_context, U32 slot, ID3D11ShaderResourceView *srv) noexcept | 
| static void | BindSRVs (ID3D11DeviceContext &device_context, U32 slot, U32 nb_srvs, ID3D11ShaderResourceView *const *srvs) noexcept | 
| static void | BindSampler (ID3D11DeviceContext &device_context, U32 slot, ID3D11SamplerState *sampler) noexcept | 
| static void | BindSamplers (ID3D11DeviceContext &device_context, U32 slot, U32 nb_samplers, ID3D11SamplerState *const *samplers) noexcept | 
The domain shader stage.
      
  | 
  staticnoexcept | 
Binds a constant buffer to the domain shader stage.
D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT. | [in,out] | device_context | A reference to the device context. | 
| [in] | slot | The index into the device's zero-based array to set the constant buffer to (ranges from 0 to D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1).  | 
| [in] | buffer | A pointer to the constant buffer. | 
      
  | 
  staticnoexcept | 
Binds an array of constant buffers to the domain shader stage.
D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT. D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT | [in,out] | device_context | A reference to the device context. | 
| [in] | slot | The index into the device's zero-based array to begin setting constant buffers to (ranges from 0 to D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1).  | 
| [in] | nb_buffers | The number of constant buffers in the array (ranges from 0 to D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT 
  | 
| [in] | buffers | A pointer to an array of constant buffers. | 
      
  | 
  staticnoexcept | 
Binds a sampler to the domain shader stage.
D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT. | [in,out] | device_context | A reference to the device context. | 
| [in] | slot | The index into the device's zero-based array to set the sampler to (ranges from 0 to D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1).  | 
| [in] | sampler | A pointer to the sampler. | 
      
  | 
  staticnoexcept | 
Binds an array of samplers to the domain shader stage.
D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT. D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT | [in,out] | device_context | A reference to the device context. | 
| [in] | slot | The index into the device's zero-based array to begin setting samplers to (ranges from 0 to D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - 1).  | 
| [in] | nb_samplers | The number of samplers in the array. Each pipeline stage has a total of 16 sampler slots available (ranges from 0 to D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT - slot).  | 
| [in] | samplers | A pointer to an array of samplers. | 
      
  | 
  staticnoexcept | 
Binds a domain shader to the domain shader stage.
| [in,out] | device_context | A reference to the device context. | 
| [in] | shader | A pointer to the domain shader. | 
      
  | 
  staticnoexcept | 
Binds a domain shader to the domain shader stage.
| [in,out] | device_context | A reference to the device context. | 
| [in] | shader | A pointer to the domain shader. | 
| [in] | class_instances | A pointer to an array of class-instance interfaces. | 
| [in] | nb_class_instances | The numberof class-instance interfaces. | 
      
  | 
  staticnoexcept | 
Binds a shader resource view to the domain shader stage.
D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT. | [in,out] | device_context | A reference to the device context. | 
| [in] | slot | The index into the device's zero-based array to set the shader resource view to (ranges from 0 to D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1).  | 
| [in] | srv | A pointer to the shader resource view. | 
      
  | 
  staticnoexcept | 
Binds an array of shader resource views to the domain shader stage.
D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT. D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT | [in,out] | device_context | A reference to the device context. | 
| [in] | slot | The index into the device's zero-based array to begin setting shader resource views to (ranges from 0 to D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1).  | 
| [in] | nb_srvs | The number of shader resource views in the array. Up to a maximum of 128 slots are available for shader resource views (ranges from 0 to D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - slot).  | 
| [in] | srvs | A pointer to an array of shader resource views. |