|
Blender V5.3
|
#include <gpu_shader_text.bsl.hh>
Public Member Functions | |
| float | texel_fetch (int index) const |
| float | sample_glyph_bilinear (int2 glyph_size, int glyph_ofs, float2 bilin_f, float2 uv) const |
| float4 | sample_glyph_rgba (int2 glyph_size, int glyph_ofs, float2 uv) const |
Public Attributes | |
| float4x4 | ModelViewProjectionMatrix |
| int | glyph_tex_width_mask |
| int | glyph_tex_width_shift |
| sampler2D | glyph |
| GlyphQuad(& | glyphs )[] |
Definition at line 17 of file gpu_shader_text.bsl.hh.
|
inline |
Definition at line 41 of file gpu_shader_text.bsl.hh.
References floor, index, builtin::text::is_inside_box(), mix, texel_fetch(), float2::x, int2::x, float2::y, and int2::y.
|
inline |
Definition at line 74 of file gpu_shader_text.bsl.hh.
References index, builtin::text::is_inside_box(), round, texel_fetch(), int2::x, and int2::y.
|
inline |
Definition at line 35 of file gpu_shader_text.bsl.hh.
References glyph, index, and texelFetch().
Referenced by sample_glyph_bilinear(), and sample_glyph_rgba().
| sampler2D builtin::text::Resources::glyph |
Definition at line 22 of file gpu_shader_text.bsl.hh.
Referenced by texel_fetch().
| int builtin::text::Resources::glyph_tex_width_mask |
Definition at line 19 of file gpu_shader_text.bsl.hh.
| int builtin::text::Resources::glyph_tex_width_shift |
Definition at line 20 of file gpu_shader_text.bsl.hh.
| GlyphQuad(& builtin::text::Resources::glyphs)[] |
Definition at line 24 of file gpu_shader_text.bsl.hh.
| float4x4 builtin::text::Resources::ModelViewProjectionMatrix |
Definition at line 18 of file gpu_shader_text.bsl.hh.