Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GrVkRenderPass::AttachmentsDescriptor::AttachmentDesc Struct Reference

#include <GrVkRenderPass.h>

Public Member Functions

 AttachmentDesc ()
 
bool operator== (const AttachmentDesc &right) const
 
bool operator!= (const AttachmentDesc &right) const
 
bool isCompatible (const AttachmentDesc &desc) const
 

Public Attributes

VkFormat fFormat
 
int fSamples
 
LoadStoreOps fLoadStoreOps
 

Detailed Description

Definition at line 56 of file GrVkRenderPass.h.

Constructor & Destructor Documentation

◆ AttachmentDesc()

GrVkRenderPass::AttachmentsDescriptor::AttachmentDesc::AttachmentDesc ( )
inline

Member Function Documentation

◆ isCompatible()

bool GrVkRenderPass::AttachmentsDescriptor::AttachmentDesc::isCompatible ( const AttachmentDesc desc) const
inline

Definition at line 73 of file GrVkRenderPass.h.

73 {
74 return (fFormat == desc.fFormat && fSamples == desc.fSamples);
75 }

◆ operator!=()

bool GrVkRenderPass::AttachmentsDescriptor::AttachmentDesc::operator!= ( const AttachmentDesc right) const
inline

Definition at line 70 of file GrVkRenderPass.h.

70 {
71 return !(*this == right);
72 }
static bool right(const SkPoint &p0, const SkPoint &p1)

◆ operator==()

bool GrVkRenderPass::AttachmentsDescriptor::AttachmentDesc::operator== ( const AttachmentDesc right) const
inline

Definition at line 65 of file GrVkRenderPass.h.

65 {
66 return (fFormat == right.fFormat &&
67 fSamples == right.fSamples &&
68 fLoadStoreOps == right.fLoadStoreOps);
69 }

Member Data Documentation

◆ fFormat

VkFormat GrVkRenderPass::AttachmentsDescriptor::AttachmentDesc::fFormat

Definition at line 57 of file GrVkRenderPass.h.

◆ fLoadStoreOps

LoadStoreOps GrVkRenderPass::AttachmentsDescriptor::AttachmentDesc::fLoadStoreOps

Definition at line 59 of file GrVkRenderPass.h.

◆ fSamples

int GrVkRenderPass::AttachmentsDescriptor::AttachmentDesc::fSamples

Definition at line 58 of file GrVkRenderPass.h.


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