sandbox
Loading...
Searching...
No Matches
sbx::graphics::sampler_state Class Reference
Inheritance diagram for sbx::graphics::sampler_state:
sbx::graphics::descriptor

Public Member Functions

 sampler_state (graphics::filter mag_filter, graphics::filter min_filter, graphics::address_mode address_mode_u, graphics::address_mode address_mode_v, std::float_t anisotropy=1.0f)
 
 sampler_state (graphics::filter filter=graphics::filter::linear, graphics::address_mode address_mode=graphics::address_mode::clamp_to_edge)
 
auto write_descriptor_set (std::uint32_t binding, VkDescriptorType descriptor_type) const noexcept -> graphics::write_descriptor_set override
 
auto handle () const noexcept -> VkSampler
 
 operator VkSampler () const noexcept
 
virtual auto write_descriptor_set (std::uint32_t binding, VkDescriptorType descriptor_type) const noexcept -> graphics::write_descriptor_set=0
 

Static Public Member Functions

static auto create_descriptor_set_layout_binding (std::uint32_t binding, VkDescriptorType descriptor_type, VkShaderStageFlags shader_stage_flags) noexcept -> VkDescriptorSetLayoutBinding
 

Member Function Documentation

◆ write_descriptor_set()

auto sbx::graphics::sampler_state::write_descriptor_set ( std::uint32_t  binding,
VkDescriptorType  descriptor_type 
) const -> graphics::write_descriptor_set
overridevirtualnoexcept

The documentation for this class was generated from the following files: