|
| | MOCK_METHOD (bool, IsValid,(),(const, override)) |
| |
| | MOCK_METHOD (bool, EncodeCommands,(),(const, override)) |
| |
| | MOCK_METHOD (void, OnSetLabel,(std::string_view label),(override)) |
| |
| | MOCK_METHOD (bool, ResizeTexture,(const std::shared_ptr< Texture > &source, const std::shared_ptr< Texture > &destination),(override)) |
| |
| | MOCK_METHOD (bool, OnCopyTextureToTextureCommand,(std::shared_ptr< Texture > source, std::shared_ptr< Texture > destination, IRect source_region, IPoint destination_origin, std::string_view label),(override)) |
| |
| | MOCK_METHOD (bool, OnCopyTextureToBufferCommand,(std::shared_ptr< Texture > source, std::shared_ptr< DeviceBuffer > destination, IRect source_region, size_t destination_offset, std::string_view label),(override)) |
| |
| | MOCK_METHOD (bool, OnCopyBufferToTextureCommand,(BufferView source, std::shared_ptr< Texture > destination, IRect destination_rect, std::string_view label, uint32_t mip_level, uint32_t slice, bool convert_to_read),(override)) |
| |
| | MOCK_METHOD (bool, OnGenerateMipmapCommand,(std::shared_ptr< Texture > texture, std::string_view label),(override)) |
| |
| virtual | ~BlitPass () |
| |
| virtual bool | IsValid () const =0 |
| |
| void | SetLabel (std::string_view label) |
| |
| virtual bool | ConvertTextureToShaderRead (const std::shared_ptr< Texture > &texture) |
| | If the texture is not already in a shader read internal state, then convert it to that state.
|
| |
| virtual bool | ResizeTexture (const std::shared_ptr< Texture > &source, const std::shared_ptr< Texture > &destination)=0 |
| | Resize the [source] texture into the [destination] texture.
|
| |
| bool | AddCopy (std::shared_ptr< Texture > source, std::shared_ptr< Texture > destination, std::optional< IRect > source_region=std::nullopt, IPoint destination_origin={}, std::string_view label="") |
| | Record a command to copy the contents of one texture to another texture. The blit area is limited by the intersection of the texture coverage with respect the source region and destination origin.
|
| |
| bool | AddCopy (std::shared_ptr< Texture > source, std::shared_ptr< DeviceBuffer > destination, std::optional< IRect > source_region=std::nullopt, size_t destination_offset=0, std::string_view label="") |
| | Record a command to copy the contents of a texture to a buffer.
|
| |
| bool | AddCopy (BufferView source, std::shared_ptr< Texture > destination, std::optional< IRect > destination_region=std::nullopt, std::string_view label="", uint32_t mip_level=0, uint32_t slice=0, bool convert_to_read=true) |
| | Record a command to copy the contents of a buffer to a texture.
|
| |
| bool | GenerateMipmap (std::shared_ptr< Texture > texture, std::string_view label="") |
| | Record a command to generate all mip levels for a texture.
|
| |
| virtual bool | EncodeCommands () const =0 |
| | Encode the recorded commands to the underlying command buffer.
|
| |
|
| | BlitPass () |
| |
| virtual void | OnSetLabel (std::string_view label)=0 |
| |
| virtual bool | OnCopyTextureToTextureCommand (std::shared_ptr< Texture > source, std::shared_ptr< Texture > destination, IRect source_region, IPoint destination_origin, std::string_view label)=0 |
| |
| virtual bool | OnCopyTextureToBufferCommand (std::shared_ptr< Texture > source, std::shared_ptr< DeviceBuffer > destination, IRect source_region, size_t destination_offset, std::string_view label)=0 |
| |
| virtual bool | OnCopyBufferToTextureCommand (BufferView source, std::shared_ptr< Texture > destination, IRect destination_region, std::string_view label, uint32_t mip_level, uint32_t slice, bool convert_to_read)=0 |
| |
| virtual bool | OnGenerateMipmapCommand (std::shared_ptr< Texture > texture, std::string_view label)=0 |
| |
Definition at line 60 of file mocks.h.