Flutter Engine
The Flutter Engine
Public Member Functions | Friends | List of all members
impeller::RenderPassGLES Class Referencefinal

#include <render_pass_gles.h>

Inheritance diagram for impeller::RenderPassGLES:
impeller::RenderPass impeller::ResourceBinder

Public Member Functions

 ~RenderPassGLES () override
 
- Public Member Functions inherited from impeller::RenderPass
virtual ~RenderPass ()
 
const std::shared_ptr< const Context > & GetContext () const
 
const RenderTargetGetRenderTarget () const
 
ISize GetRenderTargetSize () const
 
const MatrixGetOrthographicTransform () 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...
 
- Public Member Functions inherited from impeller::ResourceBinder
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
 

Friends

class CommandBufferGLES
 

Additional Inherited Members

- Protected Member Functions inherited from impeller::RenderPass
bool AddCommand (Command &&command)
 Record a command for subsequent encoding to the underlying command buffer. No work is encoded into the command buffer at this time. More...
 
 RenderPass (std::shared_ptr< const Context > context, const RenderTarget &target)
 
virtual void OnSetLabel (std::string label)=0
 
virtual bool OnEncodeCommands (const Context &context) const =0
 
- Protected Attributes inherited from impeller::RenderPass
const std::shared_ptr< const Contextcontext_
 
const SampleCount sample_count_
 
const PixelFormat pixel_format_
 
const bool has_depth_attachment_
 
const bool has_stencil_attachment_
 
const ISize render_target_size_
 
const RenderTarget render_target_
 
std::vector< Commandcommands_
 
const Matrix orthographic_
 

Detailed Description

Definition at line 15 of file render_pass_gles.h.

Constructor & Destructor Documentation

◆ ~RenderPassGLES()

impeller::RenderPassGLES::~RenderPassGLES ( )
overridedefault

Friends And Related Function Documentation

◆ CommandBufferGLES

friend class CommandBufferGLES
friend

Definition at line 23 of file render_pass_gles.h.


The documentation for this class was generated from the following files: