17 #ifndef SPIRV_CROSS_SAMPLER_HPP 18 #define SPIRV_CROSS_SAMPLER_HPP 58 int x = int(uv_full.x);
59 int y = int(uv_full.y);
76 float half = 0.5f /
size;
85 std::vector<spirv_cross_miplevel>
mips;
sampler2DBase< glm::vec4 > sampler2D
Definition: sampler.hpp:94
Definition: external_interface.h:83
virtual T sampleLod(glm::vec2 uv, float lod)
Definition: sampler.hpp:50
Definition: external_interface.h:105
Definition: libretro.h:2275
Definition: external_interface.h:76
GLsizeiptr size
Definition: glext.h:6559
GLfloat f
Definition: glext.h:8207
spirv_cross_mipfilter
Definition: external_interface.h:89
#define floor(x)
Definition: math.h:25
Definition: sampler.hpp:32
spirv_cross_filter
Definition: external_interface.h:81
GLint lod
Definition: glext.h:8462
sampler2DBase< glm::ivec4 > isampler2D
Definition: sampler.hpp:95
spirv_cross_filter mag_filter
Definition: sampler.hpp:90
Definition: barrier.hpp:23
spirv_cross_wrap
Definition: external_interface.h:73
std::vector< spirv_cross_miplevel > mips
Definition: sampler.hpp:85
spirv_cross_format wrap_t
Definition: sampler.hpp:88
float wrap(float v, spirv_cross_wrap wrap, unsigned size)
Definition: sampler.hpp:68
GLfloat bias
Definition: glext.h:8812
spirv_cross_mipfilter mip_filter
Definition: sampler.hpp:91
GLint GLint GLint GLint GLint GLint y
Definition: glext.h:6295
sampler2DBase(const spirv_cross_sampler_info *info)
Definition: sampler.hpp:34
spirv_cross_format format
Definition: sampler.hpp:86
GLint GLint GLint GLint GLint x
Definition: glext.h:6295
GLenum clamp
Definition: glext.h:6856
virtual ~spirv_cross_sampler_2d()
Definition: sampler.hpp:26
spirv_cross_filter min_filter
Definition: sampler.hpp:89
const GLdouble * v
Definition: glext.h:6391
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: glext.h:6293
GLint GLint GLsizei width
Definition: glext.h:6293
T texture(const sampler2DBase< T > &samp, const glm::vec2 &uv, float bias=0.0f)
Definition: sampler.hpp:99
spirv_cross_wrap wrap_s
Definition: sampler.hpp:87
sampler2DBase< glm::uvec4 > usampler2D
Definition: sampler.hpp:96
virtual T sample(glm::vec2 uv, float bias)
Definition: sampler.hpp:45
spirv_cross_format
Definition: external_interface.h:63
Definition: external_interface.h:75
GLint GLint GLsizei GLsizei height
Definition: glext.h:6293
Definition: sampler.hpp:24