RetroArch
Public Member Functions | Public Attributes | List of all members
spirv_cross::sampler2DBase< T > Struct Template Reference

#include <sampler.hpp>

Inheritance diagram for spirv_cross::sampler2DBase< T >:
[legend]
Collaboration diagram for spirv_cross::sampler2DBase< T >:
[legend]

Public Member Functions

 sampler2DBase (const spirv_cross_sampler_info *info)
 
virtual T sample (glm::vec2 uv, float bias)
 
virtual T sampleLod (glm::vec2 uv, float lod)
 
float wrap (float v, spirv_cross_wrap wrap, unsigned size)
 
- Public Member Functions inherited from spirv_cross::spirv_cross_sampler_2d
virtual ~spirv_cross_sampler_2d ()
 

Public Attributes

std::vector< spirv_cross_miplevelmips
 
spirv_cross_format format
 
spirv_cross_wrap wrap_s
 
spirv_cross_format wrap_t
 
spirv_cross_filter min_filter
 
spirv_cross_filter mag_filter
 
spirv_cross_mipfilter mip_filter
 

Constructor & Destructor Documentation

◆ sampler2DBase()

template<typename T>
spirv_cross::sampler2DBase< T >::sampler2DBase ( const spirv_cross_sampler_info info)
inline

Member Function Documentation

◆ sample()

template<typename T>
virtual T spirv_cross::sampler2DBase< T >::sample ( glm::vec2  uv,
float  bias 
)
inlinevirtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sampleLod()

template<typename T>
virtual T spirv_cross::sampler2DBase< T >::sampleLod ( glm::vec2  uv,
float  lod 
)
inlinevirtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wrap()

template<typename T>
float spirv_cross::sampler2DBase< T >::wrap ( float  v,
spirv_cross_wrap  wrap,
unsigned  size 
)
inline
Here is the caller graph for this function:

Member Data Documentation

◆ format

◆ mag_filter

template<typename T>
spirv_cross_filter spirv_cross::sampler2DBase< T >::mag_filter

◆ min_filter

template<typename T>
spirv_cross_filter spirv_cross::sampler2DBase< T >::min_filter

◆ mip_filter

template<typename T>
spirv_cross_mipfilter spirv_cross::sampler2DBase< T >::mip_filter

◆ mips

template<typename T>
std::vector<spirv_cross_miplevel> spirv_cross::sampler2DBase< T >::mips

◆ wrap_s

template<typename T>
spirv_cross_wrap spirv_cross::sampler2DBase< T >::wrap_s

◆ wrap_t

template<typename T>
spirv_cross_format spirv_cross::sampler2DBase< T >::wrap_t

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