Vulkan-Hpp
vk::SamplerCreateInfo Struct Reference

#include <vulkan_structs.hpp>

Public Types

using NativeType = VkSamplerCreateInfo
 

Public Member Functions

VULKAN_HPP_CONSTEXPR SamplerCreateInfo (vk::SamplerCreateFlags flags_={}, vk::Filter magFilter_=vk::Filter::eNearest, vk::Filter minFilter_=vk::Filter::eNearest, vk::SamplerMipmapMode mipmapMode_=vk::SamplerMipmapMode::eNearest, vk::SamplerAddressMode addressModeU_=vk::SamplerAddressMode::eRepeat, vk::SamplerAddressMode addressModeV_=vk::SamplerAddressMode::eRepeat, vk::SamplerAddressMode addressModeW_=vk::SamplerAddressMode::eRepeat, float mipLodBias_={}, vk::Bool32 anisotropyEnable_={}, float maxAnisotropy_={}, vk::Bool32 compareEnable_={}, vk::CompareOp compareOp_=vk::CompareOp::eNever, float minLod_={}, float maxLod_={}, vk::BorderColor borderColor_=vk::BorderColor::eFloatTransparentBlack, vk::Bool32 unnormalizedCoordinates_={}, const void *pNext_=nullptr) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR SamplerCreateInfo (SamplerCreateInfo const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 SamplerCreateInfo (VkSamplerCreateInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
SamplerCreateInfooperator= (SamplerCreateInfo const &rhs) VULKAN_HPP_NOEXCEPT=default
 
SamplerCreateInfooperator= (VkSamplerCreateInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfosetPNext (const void *pNext_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfosetFlags (vk::SamplerCreateFlags flags_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfosetMagFilter (vk::Filter magFilter_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfosetMinFilter (vk::Filter minFilter_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfosetMipmapMode (vk::SamplerMipmapMode mipmapMode_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfosetAddressModeU (vk::SamplerAddressMode addressModeU_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfosetAddressModeV (vk::SamplerAddressMode addressModeV_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfosetAddressModeW (vk::SamplerAddressMode addressModeW_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfosetMipLodBias (float mipLodBias_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfosetAnisotropyEnable (vk::Bool32 anisotropyEnable_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfosetMaxAnisotropy (float maxAnisotropy_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfosetCompareEnable (vk::Bool32 compareEnable_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfosetCompareOp (vk::CompareOp compareOp_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfosetMinLod (float minLod_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfosetMaxLod (float maxLod_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfosetBorderColor (vk::BorderColor borderColor_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfosetUnnormalizedCoordinates (vk::Bool32 unnormalizedCoordinates_) VULKAN_HPP_NOEXCEPT
 
 operator VkSamplerCreateInfo const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkSamplerCreateInfo & () VULKAN_HPP_NOEXCEPT
 
bool operator== (SamplerCreateInfo const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (SamplerCreateInfo const &rhs) const VULKAN_HPP_NOEXCEPT
 

Public Attributes

vk::StructureType sType = StructureType::eSamplerCreateInfo
 
const void * pNext = {}
 
vk::SamplerCreateFlags flags = {}
 
vk::Filter magFilter = vk::Filter::eNearest
 
vk::Filter minFilter = vk::Filter::eNearest
 
vk::SamplerMipmapMode mipmapMode = vk::SamplerMipmapMode::eNearest
 
vk::SamplerAddressMode addressModeU = vk::SamplerAddressMode::eRepeat
 
vk::SamplerAddressMode addressModeV = vk::SamplerAddressMode::eRepeat
 
vk::SamplerAddressMode addressModeW = vk::SamplerAddressMode::eRepeat
 
float mipLodBias = {}
 
vk::Bool32 anisotropyEnable = {}
 
float maxAnisotropy = {}
 
vk::Bool32 compareEnable = {}
 
vk::CompareOp compareOp = vk::CompareOp::eNever
 
float minLod = {}
 
float maxLod = {}
 
vk::BorderColor borderColor = vk::BorderColor::eFloatTransparentBlack
 
vk::Bool32 unnormalizedCoordinates = {}
 

Static Public Attributes

static const bool allowDuplicate = false
 
static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSamplerCreateInfo
 

Detailed Description

Definition at line 104390 of file vulkan_structs.hpp.

Member Typedef Documentation

◆ NativeType

Constructor & Destructor Documentation

◆ SamplerCreateInfo() [1/3]

VULKAN_HPP_CONSTEXPR vk::SamplerCreateInfo::SamplerCreateInfo ( vk::SamplerCreateFlags  flags_ = {},
vk::Filter  magFilter_ = vk::Filter::eNearest,
vk::Filter  minFilter_ = vk::Filter::eNearest,
vk::SamplerMipmapMode  mipmapMode_ = vk::SamplerMipmapMode::eNearest,
vk::SamplerAddressMode  addressModeU_ = vk::SamplerAddressMode::eRepeat,
vk::SamplerAddressMode  addressModeV_ = vk::SamplerAddressMode::eRepeat,
vk::SamplerAddressMode  addressModeW_ = vk::SamplerAddressMode::eRepeat,
float  mipLodBias_ = {},
vk::Bool32  anisotropyEnable_ = {},
float  maxAnisotropy_ = {},
vk::Bool32  compareEnable_ = {},
vk::CompareOp  compareOp_ = vk::CompareOp::eNever,
float  minLod_ = {},
float  maxLod_ = {},
vk::BorderColor  borderColor_ = vk::BorderColor::eFloatTransparentBlack,
vk::Bool32  unnormalizedCoordinates_ = {},
const void *  pNext_ = nullptr 
)
inline

Definition at line 104398 of file vulkan_structs.hpp.

◆ SamplerCreateInfo() [2/3]

VULKAN_HPP_CONSTEXPR vk::SamplerCreateInfo::SamplerCreateInfo ( SamplerCreateInfo const &  rhs)
default

◆ SamplerCreateInfo() [3/3]

vk::SamplerCreateInfo::SamplerCreateInfo ( VkSamplerCreateInfo const &  rhs)
inline

Definition at line 104437 of file vulkan_structs.hpp.

Member Function Documentation

◆ operator VkSamplerCreateInfo &()

vk::SamplerCreateInfo::operator VkSamplerCreateInfo & ( )
inline

Definition at line 104557 of file vulkan_structs.hpp.

◆ operator VkSamplerCreateInfo const &()

vk::SamplerCreateInfo::operator VkSamplerCreateInfo const & ( ) const
inline

Definition at line 104552 of file vulkan_structs.hpp.

◆ operator!=()

bool vk::SamplerCreateInfo::operator!= ( SamplerCreateInfo const &  rhs) const
inline

Definition at line 104624 of file vulkan_structs.hpp.

◆ operator=() [1/2]

SamplerCreateInfo& vk::SamplerCreateInfo::operator= ( SamplerCreateInfo const &  rhs)
default

◆ operator=() [2/2]

SamplerCreateInfo& vk::SamplerCreateInfo::operator= ( VkSamplerCreateInfo const &  rhs)
inline

Definition at line 104442 of file vulkan_structs.hpp.

◆ operator==()

bool vk::SamplerCreateInfo::operator== ( SamplerCreateInfo const &  rhs) const
inline

Definition at line 104611 of file vulkan_structs.hpp.

◆ setAddressModeU()

VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfo& vk::SamplerCreateInfo::setAddressModeU ( vk::SamplerAddressMode  addressModeU_)
inline

Definition at line 104479 of file vulkan_structs.hpp.

◆ setAddressModeV()

VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfo& vk::SamplerCreateInfo::setAddressModeV ( vk::SamplerAddressMode  addressModeV_)
inline

Definition at line 104485 of file vulkan_structs.hpp.

◆ setAddressModeW()

VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfo& vk::SamplerCreateInfo::setAddressModeW ( vk::SamplerAddressMode  addressModeW_)
inline

Definition at line 104491 of file vulkan_structs.hpp.

◆ setAnisotropyEnable()

VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfo& vk::SamplerCreateInfo::setAnisotropyEnable ( vk::Bool32  anisotropyEnable_)
inline

Definition at line 104503 of file vulkan_structs.hpp.

◆ setBorderColor()

VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfo& vk::SamplerCreateInfo::setBorderColor ( vk::BorderColor  borderColor_)
inline

Definition at line 104539 of file vulkan_structs.hpp.

◆ setCompareEnable()

VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfo& vk::SamplerCreateInfo::setCompareEnable ( vk::Bool32  compareEnable_)
inline

Definition at line 104515 of file vulkan_structs.hpp.

◆ setCompareOp()

VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfo& vk::SamplerCreateInfo::setCompareOp ( vk::CompareOp  compareOp_)
inline

Definition at line 104521 of file vulkan_structs.hpp.

◆ setFlags()

VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfo& vk::SamplerCreateInfo::setFlags ( vk::SamplerCreateFlags  flags_)
inline

Definition at line 104455 of file vulkan_structs.hpp.

◆ setMagFilter()

VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfo& vk::SamplerCreateInfo::setMagFilter ( vk::Filter  magFilter_)
inline

Definition at line 104461 of file vulkan_structs.hpp.

◆ setMaxAnisotropy()

VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfo& vk::SamplerCreateInfo::setMaxAnisotropy ( float  maxAnisotropy_)
inline

Definition at line 104509 of file vulkan_structs.hpp.

◆ setMaxLod()

VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfo& vk::SamplerCreateInfo::setMaxLod ( float  maxLod_)
inline

Definition at line 104533 of file vulkan_structs.hpp.

◆ setMinFilter()

VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfo& vk::SamplerCreateInfo::setMinFilter ( vk::Filter  minFilter_)
inline

Definition at line 104467 of file vulkan_structs.hpp.

◆ setMinLod()

VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfo& vk::SamplerCreateInfo::setMinLod ( float  minLod_)
inline

Definition at line 104527 of file vulkan_structs.hpp.

◆ setMipLodBias()

VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfo& vk::SamplerCreateInfo::setMipLodBias ( float  mipLodBias_)
inline

Definition at line 104497 of file vulkan_structs.hpp.

◆ setMipmapMode()

VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfo& vk::SamplerCreateInfo::setMipmapMode ( vk::SamplerMipmapMode  mipmapMode_)
inline

Definition at line 104473 of file vulkan_structs.hpp.

◆ setPNext()

VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfo& vk::SamplerCreateInfo::setPNext ( const void *  pNext_)
inline

Definition at line 104449 of file vulkan_structs.hpp.

◆ setUnnormalizedCoordinates()

VULKAN_HPP_CONSTEXPR_14 SamplerCreateInfo& vk::SamplerCreateInfo::setUnnormalizedCoordinates ( vk::Bool32  unnormalizedCoordinates_)
inline

Definition at line 104545 of file vulkan_structs.hpp.

Member Data Documentation

◆ addressModeU

vk::SamplerAddressMode vk::SamplerCreateInfo::addressModeU = vk::SamplerAddressMode::eRepeat

Definition at line 104637 of file vulkan_structs.hpp.

◆ addressModeV

vk::SamplerAddressMode vk::SamplerCreateInfo::addressModeV = vk::SamplerAddressMode::eRepeat

Definition at line 104638 of file vulkan_structs.hpp.

◆ addressModeW

vk::SamplerAddressMode vk::SamplerCreateInfo::addressModeW = vk::SamplerAddressMode::eRepeat

Definition at line 104639 of file vulkan_structs.hpp.

◆ allowDuplicate

const bool vk::SamplerCreateInfo::allowDuplicate = false
static

Definition at line 104394 of file vulkan_structs.hpp.

◆ anisotropyEnable

vk::Bool32 vk::SamplerCreateInfo::anisotropyEnable = {}

Definition at line 104641 of file vulkan_structs.hpp.

◆ borderColor

vk::BorderColor vk::SamplerCreateInfo::borderColor = vk::BorderColor::eFloatTransparentBlack

Definition at line 104647 of file vulkan_structs.hpp.

◆ compareEnable

vk::Bool32 vk::SamplerCreateInfo::compareEnable = {}

Definition at line 104643 of file vulkan_structs.hpp.

◆ compareOp

vk::CompareOp vk::SamplerCreateInfo::compareOp = vk::CompareOp::eNever

Definition at line 104644 of file vulkan_structs.hpp.

◆ flags

vk::SamplerCreateFlags vk::SamplerCreateInfo::flags = {}

Definition at line 104633 of file vulkan_structs.hpp.

◆ magFilter

vk::Filter vk::SamplerCreateInfo::magFilter = vk::Filter::eNearest

Definition at line 104634 of file vulkan_structs.hpp.

◆ maxAnisotropy

float vk::SamplerCreateInfo::maxAnisotropy = {}

Definition at line 104642 of file vulkan_structs.hpp.

◆ maxLod

float vk::SamplerCreateInfo::maxLod = {}

Definition at line 104646 of file vulkan_structs.hpp.

◆ minFilter

vk::Filter vk::SamplerCreateInfo::minFilter = vk::Filter::eNearest

Definition at line 104635 of file vulkan_structs.hpp.

◆ minLod

float vk::SamplerCreateInfo::minLod = {}

Definition at line 104645 of file vulkan_structs.hpp.

◆ mipLodBias

float vk::SamplerCreateInfo::mipLodBias = {}

Definition at line 104640 of file vulkan_structs.hpp.

◆ mipmapMode

vk::SamplerMipmapMode vk::SamplerCreateInfo::mipmapMode = vk::SamplerMipmapMode::eNearest

Definition at line 104636 of file vulkan_structs.hpp.

◆ pNext

const void* vk::SamplerCreateInfo::pNext = {}

Definition at line 104632 of file vulkan_structs.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType vk::SamplerCreateInfo::structureType = StructureType::eSamplerCreateInfo
static

Definition at line 104395 of file vulkan_structs.hpp.

◆ sType

vk::StructureType vk::SamplerCreateInfo::sType = StructureType::eSamplerCreateInfo

Definition at line 104631 of file vulkan_structs.hpp.

◆ unnormalizedCoordinates

vk::Bool32 vk::SamplerCreateInfo::unnormalizedCoordinates = {}

Definition at line 104648 of file vulkan_structs.hpp.


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