List of all members.
Constructor & Destructor Documentation
      
        
          | sp::video::Direct3D11Shader::~Direct3D11Shader | ( |  | ) |  | 
      
 
 
Member Function Documentation
      
        
          | bool sp::video::Direct3D11Shader::compile | ( | const std::list< io::stringc > & | ShaderBuffer, | 
        
          |  |  | const io::stringc & | EntryPoint = "", | 
        
          |  |  | const c8 ** | CompilerOptions = 0 |  | 
        
          |  | ) |  |  |  [virtual] | 
      
 
Compiles the given shader source code. 
- Parameters:
- 
  
    | [in] | ShaderBuffer | Specifies the shader source code in form of a string container. Each string line has to end with the end-of-line character (' ')!
 |  | [in] | EntryPoint | Specifies the shader entry point. This not required for GLSL shaders. But for HLSL and Cg. It's actually just the shader's main function name. |  | [in] | CompilerOptions | Specifies the pointer to the comiler option strings. |  
 
- Returns:
- True if the shader could be compiled successful. 
Reimplemented from sp::video::Shader.
 
 
      
        
          | u32 sp::video::Direct3D11Shader::getConstantCount | ( |  | ) | const | 
      
 
 
      
        
          | std::vector<io::stringc> sp::video::Direct3D11Shader::getConstantList | ( |  | ) | const | 
      
 
 
      
        
          | bool sp::video::Direct3D11Shader::setConstantBuffer | ( | u32 | Number, | 
        
          |  |  | const void * | Buffer |  | 
        
          |  | ) |  |  |  [virtual] | 
      
 
- Parameters:
- 
  
    | [in] | Number | Specifies the index number of the constant buffer which is to be used. |  
 
Reimplemented from sp::video::Shader.
 
 
      
        
          | bool sp::video::Direct3D11Shader::setConstantBuffer | ( | const io::stringc & | Name, | 
        
          |  |  | const void * | Buffer |  | 
        
          |  | ) |  |  |  [virtual] | 
      
 
Fills a constant buffer with content (actual only for HLSL ShaderModel 4+). 
- Parameters:
- 
  
    |  | Name,: | Constant buffer's name which is to be used. |  |  | Buffer,: | Pointer to the buffer where the content for the constant buffer is stored. This buffer needs to have the same size like the constant buffer in the shader! |  
 
Reimplemented from sp::video::Shader.
 
 
Friends And Related Function Documentation
The documentation for this class was generated from the following file:
- D:/SoftwareEntwicklung/C++/HLC/Tools/SoftPixelEngine/repository/sources/RenderSystem/Direct3D11/spDirect3D11Shader.hpp