|
RV_ShaderType | getShaderType () const override |
| Type of the shader, Graphics or Compute. More...
|
|
| ~RV_ShaderProgram () override |
|
bool | prepareForDraw (RV_Instance *inst, RV_VKCommandBuffer *cb, const RV_VKPipelineStateInfo &pipe_state, const RV_VKPipelineInputInfo &pipe_input) |
| Finalize all set bindings in preparation for a draw. More...
|
|
bool | hasAttribute (const UT_StringRef &name) const |
| Query if a vertex shader input 'name' exists. More...
|
|
bool | getAttribute (const UT_StringRef &name, int &out_location, RV_GPUType &out_type, int &out_vec_size) const |
| Query the information about a vertex shader input. More...
|
|
const UT_Array< RV_ShaderInput > & | getAttributeList () const |
| The list of vertex shader inputs (attributes) More...
|
|
const RV_ShaderInputState & | getInputState () const |
| The list and state of vertex shader inputs (attributes) More...
|
|
void | print () const override |
| Debug Print function; dump all shader variable sets and inputs/outputs. More...
|
|
| RV_ShaderProgramBase (RV_Instance *inst, RV_VKPipelineLayoutPtr pipe_layout) |
|
virtual | ~RV_ShaderProgramBase () |
|
void | setName (const UT_StringHolder &name) |
| Set a descriptive name for the shader. More...
|
|
const UT_StringHolder & | name () const |
| Descriptive name of the shader. More...
|
|
int | getMaxSetNumber () const |
| The number of descriptor sets in the shader. More...
|
|
bool | hasSet (int set_num) const |
| Query if set 'set_num' is used by the shader. More...
|
|
bool | isSetCompatible (const RV_ShaderVariableSet &set) const |
| Return true if 'set' is compatable with the set layout in this shader. More...
|
|
const RV_VKDescriptorSetInfo * | getSetInfo (int set_num) const |
| Query information on set 'set_num'. More...
|
|
UT_UniquePtr
< RV_ShaderVariableSet > | createSet (RV_Instance *inst, int set_num) const |
| Create a shader varaible set (descriptor set) for set 'set_num'. More...
|
|
const RV_VKPipelineLayout & | getLayout () const |
| The layout of all sets and inputs of the shader. More...
|
|
bool | hasBinding (const UT_StringRef &name) const |
| Query if a binding named 'name' exists. More...
|
|
const RV_VKDescriptorBinding * | getBinding (int set, int binding) const |
| Return a binding at index 'binding' for set index 'set'. More...
|
|
const RV_VKDescriptorBinding * | getBinding (const UT_StringRef &name) const |
| Return a binding for 'name'. More...
|
|
const UT_Array< const
RV_VKDescriptorBinding * > & | getBindingList () const |
| Return the list of set bindings. More...
|
|
bool | hasUniform (const UT_StringRef &name) const |
| Query if the uniform named 'name' exists. More...
|
|
const RV_Uniform * | getUniform (const UT_StringRef &name) const |
| Return type, size, and offset information about the uniform. More...
|
|
const UT_Array< const
RV_Uniform * > & | getUniformList () const |
| Return a list of all uniforms in this shader. More...
|
|
bool | hasPushConstant (const UT_StringRef &name) const |
| Query if push constant with 'name' exists. More...
|
|
const RV_Uniform * | getPushConstant (const UT_StringRef &name, int *opt_idx) const |
| Fetch the push constant 'name' with an optional array index. More...
|
|
const UT_Array
< RV_VKPushConstantRange > & | getPushConstantRanges () const |
|
A single graphics shader program that can be bound to the render state Holds pipeline layout and collection of cached pipeline objects
Definition at line 264 of file RV_ShaderProgram.h.