Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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 117 of file RenderPassDesc.cpp.

117 {
118 if (fTextureInfo.isValid()) {
119 return SkStringPrintf("info: %s loadOp: %s storeOp: %s",
123 } else {
124 return SkString("invalid attachment");
125 }
126}
SK_API SkString static SkString SkStringPrintf()
Definition SkString.h:287
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: