Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
skgpu::graphite::AttachmentDesc Struct Reference

#include <RenderPassDesc.h>

Public Member Functions

SkString toString () const
 

Public Attributes

TextureInfo fTextureInfo
 
LoadOp fLoadOp
 
StoreOp fStoreOp
 

Detailed Description

Definition at line 23 of file RenderPassDesc.h.

Member Function Documentation

◆ toString()

SkString skgpu::graphite::AttachmentDesc::toString ( ) const

Definition at line 140 of file RenderPassDesc.cpp.

140 {
141 if (fTextureInfo.isValid()) {
142 return SkStringPrintf("info: %s loadOp: %s storeOp: %s",
146 } else {
147 return SkString("invalid attachment");
148 }
149}
SK_API SkString SkStringPrintf(const char *format,...) SK_PRINTF_LIKE(1
Creates a new string and writes into it using a printf()-style format.
const char * c_str() const
Definition: SkString.h:133
static std::string to_str(const SharedContext *ctx, const GraphicsPipelineDesc &gpDesc, const RenderPassDesc &rpDesc)

Member Data Documentation

◆ fLoadOp

LoadOp skgpu::graphite::AttachmentDesc::fLoadOp

Definition at line 25 of file RenderPassDesc.h.

◆ fStoreOp

StoreOp skgpu::graphite::AttachmentDesc::fStoreOp

Definition at line 26 of file RenderPassDesc.h.

◆ fTextureInfo

TextureInfo skgpu::graphite::AttachmentDesc::fTextureInfo

Definition at line 24 of file RenderPassDesc.h.


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