SDL  2.0
VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo:

Public Member Functions

 CommandBufferInheritanceInfo (RenderPass renderPass_=RenderPass(), uint32_t subpass_=0, Framebuffer framebuffer_=Framebuffer(), Bool32 occlusionQueryEnable_=0, QueryControlFlags queryFlags_=QueryControlFlags(), QueryPipelineStatisticFlags pipelineStatistics_=QueryPipelineStatisticFlags())
 
 CommandBufferInheritanceInfo (VkCommandBufferInheritanceInfo const &rhs)
 
CommandBufferInheritanceInfooperator= (VkCommandBufferInheritanceInfo const &rhs)
 
CommandBufferInheritanceInfosetPNext (const void *pNext_)
 
CommandBufferInheritanceInfosetRenderPass (RenderPass renderPass_)
 
CommandBufferInheritanceInfosetSubpass (uint32_t subpass_)
 
CommandBufferInheritanceInfosetFramebuffer (Framebuffer framebuffer_)
 
CommandBufferInheritanceInfosetOcclusionQueryEnable (Bool32 occlusionQueryEnable_)
 
CommandBufferInheritanceInfosetQueryFlags (QueryControlFlags queryFlags_)
 
CommandBufferInheritanceInfosetPipelineStatistics (QueryPipelineStatisticFlags pipelineStatistics_)
 
 operator VkCommandBufferInheritanceInfo const & () const
 
 operator VkCommandBufferInheritanceInfo & ()
 
bool operator== (CommandBufferInheritanceInfo const &rhs) const
 
bool operator!= (CommandBufferInheritanceInfo const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
RenderPass renderPass
 
uint32_t subpass
 
Framebuffer framebuffer
 
Bool32 occlusionQueryEnable
 
QueryControlFlags queryFlags
 
QueryPipelineStatisticFlags pipelineStatistics
 

Private Attributes

StructureType sType = StructureType::eCommandBufferInheritanceInfo
 

Detailed Description

Definition at line 24436 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ CommandBufferInheritanceInfo() [1/2]

VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::CommandBufferInheritanceInfo ( RenderPass  renderPass_ = RenderPass(),
uint32_t  subpass_ = 0,
Framebuffer  framebuffer_ = Framebuffer(),
Bool32  occlusionQueryEnable_ = 0,
QueryControlFlags  queryFlags_ = QueryControlFlags(),
QueryPipelineStatisticFlags  pipelineStatistics_ = QueryPipelineStatisticFlags() 
)
inline

Definition at line 24438 of file vulkan.hpp.

24444  : renderPass( renderPass_ )
24445  , subpass( subpass_ )
24446  , framebuffer( framebuffer_ )
24447  , occlusionQueryEnable( occlusionQueryEnable_ )
24448  , queryFlags( queryFlags_ )
24449  , pipelineStatistics( pipelineStatistics_ )
24450  {
24451  }

◆ CommandBufferInheritanceInfo() [2/2]

VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::CommandBufferInheritanceInfo ( VkCommandBufferInheritanceInfo const &  rhs)
inline

Definition at line 24453 of file vulkan.hpp.

24454  {
24455  memcpy( this, &rhs, sizeof( CommandBufferInheritanceInfo ) );
24456  }

References memcpy.

Member Function Documentation

◆ operator VkCommandBufferInheritanceInfo &()

VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::operator VkCommandBufferInheritanceInfo & ( )
inline

Definition at line 24510 of file vulkan.hpp.

24511  {
24512  return *reinterpret_cast<VkCommandBufferInheritanceInfo*>(this);
24513  }

◆ operator VkCommandBufferInheritanceInfo const &()

VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::operator VkCommandBufferInheritanceInfo const & ( ) const
inline

Definition at line 24505 of file vulkan.hpp.

24506  {
24507  return *reinterpret_cast<const VkCommandBufferInheritanceInfo*>(this);
24508  }

◆ operator!=()

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

Definition at line 24527 of file vulkan.hpp.

24528  {
24529  return !operator==( rhs );
24530  }

References operator==().

◆ operator=()

CommandBufferInheritanceInfo& VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::operator= ( VkCommandBufferInheritanceInfo const &  rhs)
inline

Definition at line 24458 of file vulkan.hpp.

24459  {
24460  memcpy( this, &rhs, sizeof( CommandBufferInheritanceInfo ) );
24461  return *this;
24462  }

References memcpy.

◆ operator==()

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

Definition at line 24515 of file vulkan.hpp.

24516  {
24517  return ( sType == rhs.sType )
24518  && ( pNext == rhs.pNext )
24519  && ( renderPass == rhs.renderPass )
24520  && ( subpass == rhs.subpass )
24521  && ( framebuffer == rhs.framebuffer )
24522  && ( occlusionQueryEnable == rhs.occlusionQueryEnable )
24523  && ( queryFlags == rhs.queryFlags )
24524  && ( pipelineStatistics == rhs.pipelineStatistics );
24525  }

References framebuffer, occlusionQueryEnable, pipelineStatistics, pNext, queryFlags, renderPass, sType, and subpass.

Referenced by operator!=().

◆ setFramebuffer()

CommandBufferInheritanceInfo& VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::setFramebuffer ( Framebuffer  framebuffer_)
inline

Definition at line 24481 of file vulkan.hpp.

24482  {
24483  framebuffer = framebuffer_;
24484  return *this;
24485  }

◆ setOcclusionQueryEnable()

CommandBufferInheritanceInfo& VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::setOcclusionQueryEnable ( Bool32  occlusionQueryEnable_)
inline

Definition at line 24487 of file vulkan.hpp.

24488  {
24489  occlusionQueryEnable = occlusionQueryEnable_;
24490  return *this;
24491  }

References occlusionQueryEnable.

◆ setPipelineStatistics()

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

Definition at line 24499 of file vulkan.hpp.

24500  {
24501  pipelineStatistics = pipelineStatistics_;
24502  return *this;
24503  }

References pipelineStatistics.

◆ setPNext()

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

Definition at line 24463 of file vulkan.hpp.

24464  {
24465  pNext = pNext_;
24466  return *this;
24467  }

References pNext.

◆ setQueryFlags()

CommandBufferInheritanceInfo& VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::setQueryFlags ( QueryControlFlags  queryFlags_)
inline

Definition at line 24493 of file vulkan.hpp.

24494  {
24495  queryFlags = queryFlags_;
24496  return *this;
24497  }

References queryFlags.

◆ setRenderPass()

CommandBufferInheritanceInfo& VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::setRenderPass ( RenderPass  renderPass_)
inline

Definition at line 24469 of file vulkan.hpp.

24470  {
24471  renderPass = renderPass_;
24472  return *this;
24473  }

References renderPass.

◆ setSubpass()

CommandBufferInheritanceInfo& VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::setSubpass ( uint32_t  subpass_)
inline

Definition at line 24475 of file vulkan.hpp.

24476  {
24477  subpass = subpass_;
24478  return *this;
24479  }

References subpass.

Field Documentation

◆ framebuffer

Framebuffer VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::framebuffer

Definition at line 24539 of file vulkan.hpp.

Referenced by operator==().

◆ occlusionQueryEnable

Bool32 VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::occlusionQueryEnable

Definition at line 24540 of file vulkan.hpp.

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

◆ pipelineStatistics

QueryPipelineStatisticFlags VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::pipelineStatistics

Definition at line 24542 of file vulkan.hpp.

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

◆ pNext

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

Definition at line 24536 of file vulkan.hpp.

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

◆ queryFlags

QueryControlFlags VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::queryFlags

Definition at line 24541 of file vulkan.hpp.

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

◆ renderPass

RenderPass VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::renderPass

Definition at line 24537 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::sType = StructureType::eCommandBufferInheritanceInfo
private

Definition at line 24533 of file vulkan.hpp.

Referenced by operator==().

◆ subpass

uint32_t VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::subpass

Definition at line 24538 of file vulkan.hpp.

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


The documentation for this struct was generated from the following file:
VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::renderPass
RenderPass renderPass
Definition: vulkan.hpp:24537
VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::subpass
uint32_t subpass
Definition: vulkan.hpp:24538
VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::pipelineStatistics
QueryPipelineStatisticFlags pipelineStatistics
Definition: vulkan.hpp:24542
VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::operator==
bool operator==(CommandBufferInheritanceInfo const &rhs) const
Definition: vulkan.hpp:24515
VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::sType
StructureType sType
Definition: vulkan.hpp:24533
memcpy
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::queryFlags
QueryControlFlags queryFlags
Definition: vulkan.hpp:24541
VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::pNext
const void * pNext
Definition: vulkan.hpp:24536
VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::occlusionQueryEnable
Bool32 occlusionQueryEnable
Definition: vulkan.hpp:24540
VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::framebuffer
Framebuffer framebuffer
Definition: vulkan.hpp:24539
VULKAN_HPP_NAMESPACE::CommandBufferInheritanceInfo::CommandBufferInheritanceInfo
CommandBufferInheritanceInfo(RenderPass renderPass_=RenderPass(), uint32_t subpass_=0, Framebuffer framebuffer_=Framebuffer(), Bool32 occlusionQueryEnable_=0, QueryControlFlags queryFlags_=QueryControlFlags(), QueryPipelineStatisticFlags pipelineStatistics_=QueryPipelineStatisticFlags())
Definition: vulkan.hpp:24438
framebuffer
GLuint framebuffer
Definition: SDL_opengl_glext.h:1174
VkCommandBufferInheritanceInfo
Definition: vulkan_core.h:2685