SDL 2.0
VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo:

Public Member Functions

 QueryPoolCreateInfo (QueryPoolCreateFlags flags_=QueryPoolCreateFlags(), QueryType queryType_=QueryType::eOcclusion, uint32_t queryCount_=0, QueryPipelineStatisticFlags pipelineStatistics_=QueryPipelineStatisticFlags())
 
 QueryPoolCreateInfo (VkQueryPoolCreateInfo const &rhs)
 
QueryPoolCreateInfooperator= (VkQueryPoolCreateInfo const &rhs)
 
QueryPoolCreateInfosetPNext (const void *pNext_)
 
QueryPoolCreateInfosetFlags (QueryPoolCreateFlags flags_)
 
QueryPoolCreateInfosetQueryType (QueryType queryType_)
 
QueryPoolCreateInfosetQueryCount (uint32_t queryCount_)
 
QueryPoolCreateInfosetPipelineStatistics (QueryPipelineStatisticFlags pipelineStatistics_)
 
 operator VkQueryPoolCreateInfo const & () const
 
 operator VkQueryPoolCreateInfo & ()
 
bool operator== (QueryPoolCreateInfo const &rhs) const
 
bool operator!= (QueryPoolCreateInfo const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
QueryPoolCreateFlags flags
 
QueryType queryType
 
uint32_t queryCount
 
QueryPipelineStatisticFlags pipelineStatistics
 

Private Attributes

StructureType sType = StructureType::eQueryPoolCreateInfo
 

Detailed Description

Definition at line 24616 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ QueryPoolCreateInfo() [1/2]

VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo::QueryPoolCreateInfo ( QueryPoolCreateFlags  flags_ = QueryPoolCreateFlags(),
QueryType  queryType_ = QueryType::eOcclusion,
uint32_t  queryCount_ = 0,
QueryPipelineStatisticFlags  pipelineStatistics_ = QueryPipelineStatisticFlags() 
)
inline

Definition at line 24618 of file vulkan.hpp.

24622 : flags( flags_ )
24623 , queryType( queryType_ )
24624 , queryCount( queryCount_ )
24625 , pipelineStatistics( pipelineStatistics_ )
24626 {
24627 }
QueryPipelineStatisticFlags pipelineStatistics
Definition: vulkan.hpp:24702

◆ QueryPoolCreateInfo() [2/2]

VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo::QueryPoolCreateInfo ( VkQueryPoolCreateInfo const &  rhs)
inline

Definition at line 24629 of file vulkan.hpp.

24630 {
24631 memcpy( this, &rhs, sizeof( QueryPoolCreateInfo ) );
24632 }
#define memcpy
Definition: SDL_malloc.c:630
QueryPoolCreateInfo(QueryPoolCreateFlags flags_=QueryPoolCreateFlags(), QueryType queryType_=QueryType::eOcclusion, uint32_t queryCount_=0, QueryPipelineStatisticFlags pipelineStatistics_=QueryPipelineStatisticFlags())
Definition: vulkan.hpp:24618

References memcpy.

Member Function Documentation

◆ operator VkQueryPoolCreateInfo &()

VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo::operator VkQueryPoolCreateInfo & ( )
inline

Definition at line 24674 of file vulkan.hpp.

24675 {
24676 return *reinterpret_cast<VkQueryPoolCreateInfo*>(this);
24677 }

◆ operator VkQueryPoolCreateInfo const &()

VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo::operator VkQueryPoolCreateInfo const & ( ) const
inline

Definition at line 24669 of file vulkan.hpp.

24670 {
24671 return *reinterpret_cast<const VkQueryPoolCreateInfo*>(this);
24672 }

◆ operator!=()

bool VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo::operator!= ( QueryPoolCreateInfo const &  rhs) const
inline

Definition at line 24689 of file vulkan.hpp.

24690 {
24691 return !operator==( rhs );
24692 }
bool operator==(QueryPoolCreateInfo const &rhs) const
Definition: vulkan.hpp:24679

References operator==().

◆ operator=()

QueryPoolCreateInfo & VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo::operator= ( VkQueryPoolCreateInfo const &  rhs)
inline

Definition at line 24634 of file vulkan.hpp.

24635 {
24636 memcpy( this, &rhs, sizeof( QueryPoolCreateInfo ) );
24637 return *this;
24638 }

References memcpy.

◆ operator==()

bool VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo::operator== ( QueryPoolCreateInfo const &  rhs) const
inline

Definition at line 24679 of file vulkan.hpp.

24680 {
24681 return ( sType == rhs.sType )
24682 && ( pNext == rhs.pNext )
24683 && ( flags == rhs.flags )
24684 && ( queryType == rhs.queryType )
24685 && ( queryCount == rhs.queryCount )
24686 && ( pipelineStatistics == rhs.pipelineStatistics );
24687 }
GLbitfield flags

References flags, pipelineStatistics, pNext, queryCount, queryType, and sType.

Referenced by operator!=().

◆ setFlags()

QueryPoolCreateInfo & VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo::setFlags ( QueryPoolCreateFlags  flags_)
inline

Definition at line 24645 of file vulkan.hpp.

24646 {
24647 flags = flags_;
24648 return *this;
24649 }

◆ setPipelineStatistics()

QueryPoolCreateInfo & VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo::setPipelineStatistics ( QueryPipelineStatisticFlags  pipelineStatistics_)
inline

Definition at line 24663 of file vulkan.hpp.

24664 {
24665 pipelineStatistics = pipelineStatistics_;
24666 return *this;
24667 }

References pipelineStatistics.

◆ setPNext()

QueryPoolCreateInfo & VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo::setPNext ( const void pNext_)
inline

Definition at line 24639 of file vulkan.hpp.

24640 {
24641 pNext = pNext_;
24642 return *this;
24643 }

References pNext.

◆ setQueryCount()

QueryPoolCreateInfo & VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo::setQueryCount ( uint32_t  queryCount_)
inline

Definition at line 24657 of file vulkan.hpp.

24658 {
24659 queryCount = queryCount_;
24660 return *this;
24661 }

References queryCount.

◆ setQueryType()

QueryPoolCreateInfo & VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo::setQueryType ( QueryType  queryType_)
inline

Definition at line 24651 of file vulkan.hpp.

24652 {
24653 queryType = queryType_;
24654 return *this;
24655 }

References queryType.

Field Documentation

◆ flags

QueryPoolCreateFlags VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo::flags

Definition at line 24699 of file vulkan.hpp.

Referenced by operator==().

◆ pipelineStatistics

QueryPipelineStatisticFlags VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo::pipelineStatistics

Definition at line 24702 of file vulkan.hpp.

Referenced by operator==(), and setPipelineStatistics().

◆ pNext

const void* VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo::pNext = nullptr

Definition at line 24698 of file vulkan.hpp.

Referenced by operator==(), and setPNext().

◆ queryCount

uint32_t VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo::queryCount

Definition at line 24701 of file vulkan.hpp.

Referenced by operator==(), and setQueryCount().

◆ queryType

QueryType VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo::queryType

Definition at line 24700 of file vulkan.hpp.

Referenced by operator==(), and setQueryType().

◆ sType

StructureType VULKAN_HPP_NAMESPACE::QueryPoolCreateInfo::sType = StructureType::eQueryPoolCreateInfo
private

Definition at line 24695 of file vulkan.hpp.

Referenced by operator==().


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