|
| MockRenderPass (std::shared_ptr< const Context > context, const RenderTarget &target) |
|
| MOCK_METHOD (bool, IsValid,(),(const, override)) |
|
| MOCK_METHOD (bool, OnEncodeCommands,(const Context &context),(const, override)) |
|
| MOCK_METHOD (void, OnSetLabel,(std::string label),(override)) |
|
virtual | ~RenderPass () |
|
const std::shared_ptr< const Context > & | GetContext () const |
|
const RenderTarget & | GetRenderTarget () const |
|
ISize | GetRenderTargetSize () const |
|
const Matrix & | GetOrthographicTransform () const |
|
virtual bool | IsValid () const =0 |
|
void | SetLabel (std::string label) |
|
virtual void | ReserveCommands (size_t command_count) |
| Reserve [command_count] commands in the HAL command buffer. More...
|
|
virtual void | SetPipeline (const std::shared_ptr< Pipeline< PipelineDescriptor > > &pipeline) |
| The pipeline to use for this command. More...
|
|
virtual void | SetCommandLabel (std::string_view label) |
| The debugging label to use for the command. More...
|
|
virtual void | SetStencilReference (uint32_t value) |
|
virtual void | SetBaseVertex (uint64_t value) |
|
virtual void | SetViewport (Viewport viewport) |
|
virtual void | SetScissor (IRect scissor) |
|
virtual void | SetInstanceCount (size_t count) |
|
virtual bool | SetVertexBuffer (VertexBuffer buffer) |
| Specify the vertex and index buffer to use for this command. More...
|
|
virtual fml::Status | Draw () |
| Record the currently pending command. More...
|
|
virtual bool | BindResource (ShaderStage stage, DescriptorType type, const ShaderUniformSlot &slot, const ShaderMetadata &metadata, BufferView view) override |
|
virtual bool | BindResource (ShaderStage stage, DescriptorType type, const ShaderUniformSlot &slot, const std::shared_ptr< const ShaderMetadata > &metadata, BufferView view) |
|
virtual bool | BindResource (ShaderStage stage, DescriptorType type, const SampledImageSlot &slot, const ShaderMetadata &metadata, std::shared_ptr< const Texture > texture, const std::unique_ptr< const Sampler > &sampler) override |
|
bool | EncodeCommands () const |
| Encode the recorded commands to the underlying command buffer. More...
|
|
virtual const std::vector< Command > & | GetCommands () const |
| Accessor for the current Commands. More...
|
|
SampleCount | GetSampleCount () const |
| The sample count of the attached render target. More...
|
|
PixelFormat | GetRenderTargetPixelFormat () const |
| The pixel format of the attached render target. More...
|
|
bool | HasDepthAttachment () const |
| Whether the render target has a depth attachment. More...
|
|
bool | HasStencilAttachment () const |
| Whether the render target has an stencil attachment. More...
|
|
virtual | ~ResourceBinder ()=default |
|
virtual bool | BindResource (ShaderStage stage, DescriptorType type, const ShaderUniformSlot &slot, const ShaderMetadata &metadata, BufferView view)=0 |
|
virtual bool | BindResource (ShaderStage stage, DescriptorType type, const SampledImageSlot &slot, const ShaderMetadata &metadata, std::shared_ptr< const Texture > texture, const std::unique_ptr< const Sampler > &sampler)=0 |
|
Definition at line 96 of file mocks.h.