Blender V5.0
SamplerBase< T, Dimensions, Cube, Array, Atomic, Depth > Struct Template Reference

#include <gpu_shader_cxx_sampler.hh>

Public Types

using int_coord_type = VecBase<int, coord_dim>
using flt_coord_type = VecBase<float, coord_dim>
using derivative_type = VecBase<float, deriv_dim>
using data_vec_type = VecBase<T, 4>
using size_vec_type = VecBase<int, extent_dim>

Static Public Attributes

static constexpr int coord_dim = Dimensions + int(Cube) + int(Array)
static constexpr int deriv_dim = Dimensions + int(Cube)
static constexpr int extent_dim = Dimensions + int(Array)

Detailed Description

template<typename T, int Dimensions, bool Cube = false, bool Array = false, bool Atomic = false, bool Depth = false>
struct SamplerBase< T, Dimensions, Cube, Array, Atomic, Depth >

Definition at line 31 of file gpu_shader_cxx_sampler.hh.

Member Typedef Documentation

◆ data_vec_type

template<typename T, int Dimensions, bool Cube = false, bool Array = false, bool Atomic = false, bool Depth = false>
using SamplerBase< T, Dimensions, Cube, Array, Atomic, Depth >::data_vec_type = VecBase<T, 4>

Definition at line 39 of file gpu_shader_cxx_sampler.hh.

◆ derivative_type

template<typename T, int Dimensions, bool Cube = false, bool Array = false, bool Atomic = false, bool Depth = false>
using SamplerBase< T, Dimensions, Cube, Array, Atomic, Depth >::derivative_type = VecBase<float, deriv_dim>

Definition at line 38 of file gpu_shader_cxx_sampler.hh.

◆ flt_coord_type

template<typename T, int Dimensions, bool Cube = false, bool Array = false, bool Atomic = false, bool Depth = false>
using SamplerBase< T, Dimensions, Cube, Array, Atomic, Depth >::flt_coord_type = VecBase<float, coord_dim>

Definition at line 37 of file gpu_shader_cxx_sampler.hh.

◆ int_coord_type

template<typename T, int Dimensions, bool Cube = false, bool Array = false, bool Atomic = false, bool Depth = false>
using SamplerBase< T, Dimensions, Cube, Array, Atomic, Depth >::int_coord_type = VecBase<int, coord_dim>

Definition at line 36 of file gpu_shader_cxx_sampler.hh.

◆ size_vec_type

template<typename T, int Dimensions, bool Cube = false, bool Array = false, bool Atomic = false, bool Depth = false>
using SamplerBase< T, Dimensions, Cube, Array, Atomic, Depth >::size_vec_type = VecBase<int, extent_dim>

Definition at line 40 of file gpu_shader_cxx_sampler.hh.

Member Data Documentation

◆ coord_dim

template<typename T, int Dimensions, bool Cube = false, bool Array = false, bool Atomic = false, bool Depth = false>
int SamplerBase< T, Dimensions, Cube, Array, Atomic, Depth >::coord_dim = Dimensions + int(Cube) + int(Array)
staticconstexpr

Definition at line 32 of file gpu_shader_cxx_sampler.hh.

◆ deriv_dim

template<typename T, int Dimensions, bool Cube = false, bool Array = false, bool Atomic = false, bool Depth = false>
int SamplerBase< T, Dimensions, Cube, Array, Atomic, Depth >::deriv_dim = Dimensions + int(Cube)
staticconstexpr

Definition at line 33 of file gpu_shader_cxx_sampler.hh.

◆ extent_dim

template<typename T, int Dimensions, bool Cube = false, bool Array = false, bool Atomic = false, bool Depth = false>
int SamplerBase< T, Dimensions, Cube, Array, Atomic, Depth >::extent_dim = Dimensions + int(Array)
staticconstexpr

Definition at line 34 of file gpu_shader_cxx_sampler.hh.


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