|
Blender V5.0
|
#include "gpu_shader_cxx_vector.hh"Go to the source code of this file.
Classes | |
| struct | SamplerBase< T, Dimensions, Cube, Array, Atomic, Depth > |
Macros | |
| #define | RET |
| #define RET |
C++ stubs for shading language.
IMPORTANT: Please ask the module team if you need some feature that are not listed in this file.
Definition at line 16 of file gpu_shader_cxx_sampler.hh.
| #define TEX_TEMPLATE |
Definition at line 43 of file gpu_shader_cxx_sampler.hh.
Referenced by texelFetch(), texelFetchOffset(), texture(), textureGather(), textureGrad(), textureLod(), textureLodOffset(), and textureSize().
| using isampler1D = SamplerBase<int, 1> |
Definition at line 67 of file gpu_shader_cxx_sampler.hh.
| using isampler1DArray = SamplerBase<int, 1, false, true> |
Definition at line 77 of file gpu_shader_cxx_sampler.hh.
| using isampler1DAtomic = SamplerBase<int, 1, false, false, true> |
Definition at line 95 of file gpu_shader_cxx_sampler.hh.
| using isampler2D = SamplerBase<int, 2> |
Definition at line 68 of file gpu_shader_cxx_sampler.hh.
| using isampler2DArray = SamplerBase<int, 2, false, true> |
Definition at line 78 of file gpu_shader_cxx_sampler.hh.
| using isampler2DArrayAtomic = SamplerBase<int, 2, false, true, true> |
Definition at line 97 of file gpu_shader_cxx_sampler.hh.
| using isampler2DAtomic = SamplerBase<int, 2, false, false, true> |
Definition at line 96 of file gpu_shader_cxx_sampler.hh.
| using isampler3D = SamplerBase<int, 3> |
Definition at line 69 of file gpu_shader_cxx_sampler.hh.
| using isampler3DAtomic = SamplerBase<int, 3, false, false, true> |
Definition at line 98 of file gpu_shader_cxx_sampler.hh.
| using isamplerBuffer = SamplerBase<int, 1> |
Definition at line 66 of file gpu_shader_cxx_sampler.hh.
| using isamplerCube = SamplerBase<int, 2, true> |
Definition at line 83 of file gpu_shader_cxx_sampler.hh.
| using isamplerCubeArray = SamplerBase<int, 2, true, true> |
Definition at line 87 of file gpu_shader_cxx_sampler.hh.
| using sampler1D = SamplerBase<float, 1> |
Definition at line 63 of file gpu_shader_cxx_sampler.hh.
| using sampler1DArray = SamplerBase<float, 1, false, true> |
Definition at line 75 of file gpu_shader_cxx_sampler.hh.
| using sampler2D = SamplerBase<float, 2> |
Definition at line 64 of file gpu_shader_cxx_sampler.hh.
| using sampler2DArray = SamplerBase<float, 2, false, true> |
Definition at line 76 of file gpu_shader_cxx_sampler.hh.
| using sampler2DArrayDepth = SamplerBase<float, 2, false, true, false, true> |
Definition at line 101 of file gpu_shader_cxx_sampler.hh.
| using sampler2DDepth = SamplerBase<float, 2, false, false, false, true> |
Definition at line 100 of file gpu_shader_cxx_sampler.hh.
| using sampler3D = SamplerBase<float, 3> |
Definition at line 65 of file gpu_shader_cxx_sampler.hh.
| using samplerBuffer = SamplerBase<float, 1> |
Definition at line 62 of file gpu_shader_cxx_sampler.hh.
| using samplerCube = SamplerBase<float, 2, true> |
Definition at line 82 of file gpu_shader_cxx_sampler.hh.
| using samplerCubeArray = SamplerBase<float, 2, true, true> |
Definition at line 86 of file gpu_shader_cxx_sampler.hh.
| using samplerCubeArrayDepth = SamplerBase<float, 2, true, true, false, true> |
Definition at line 103 of file gpu_shader_cxx_sampler.hh.
| using samplerCubeDepth = SamplerBase<float, 2, true, false, false, true> |
Definition at line 102 of file gpu_shader_cxx_sampler.hh.
| using usampler1D = SamplerBase<uint, 1> |
Definition at line 71 of file gpu_shader_cxx_sampler.hh.
| using usampler1DArray = SamplerBase<uint, 1, false, true> |
Definition at line 79 of file gpu_shader_cxx_sampler.hh.
| using usampler1DAtomic = SamplerBase<uint, 1, false, false, true> |
Definition at line 90 of file gpu_shader_cxx_sampler.hh.
| using usampler2D = SamplerBase<uint, 2> |
Definition at line 72 of file gpu_shader_cxx_sampler.hh.
| using usampler2DArray = SamplerBase<uint, 2, false, true> |
Definition at line 80 of file gpu_shader_cxx_sampler.hh.
| using usampler2DArrayAtomic = SamplerBase<uint, 2, false, true, true> |
Definition at line 92 of file gpu_shader_cxx_sampler.hh.
| using usampler2DAtomic = SamplerBase<uint, 2, false, false, true> |
Definition at line 91 of file gpu_shader_cxx_sampler.hh.
| using usampler3D = SamplerBase<uint, 3> |
Definition at line 73 of file gpu_shader_cxx_sampler.hh.
| using usampler3DAtomic = SamplerBase<uint, 3, false, false, true> |
Definition at line 93 of file gpu_shader_cxx_sampler.hh.
| using usamplerBuffer = SamplerBase<uint, 1> |
Definition at line 70 of file gpu_shader_cxx_sampler.hh.
| using usamplerCube = SamplerBase<uint, 2, true> |
Definition at line 84 of file gpu_shader_cxx_sampler.hh.
| using usamplerCubeArray = SamplerBase<uint, 2, true, true> |
Definition at line 88 of file gpu_shader_cxx_sampler.hh.
| int4 texelFetch | ( | isamplerBuffer | , |
| int | ) |
References RET.
| float4 texelFetch | ( | samplerBuffer | , |
| int | ) |
References RET.
| TEX_TEMPLATE DataVec texelFetch | ( | T | , |
| IntCoord | , | ||
| int | ) |
References RET, T, and TEX_TEMPLATE.
| uint4 texelFetch | ( | usamplerBuffer | , |
| int | ) |
References RET.
| TEX_TEMPLATE DataVec texelFetchOffset | ( | T | , |
| IntCoord | , | ||
| int | , | ||
| IntCoord | ) |
References RET, T, and TEX_TEMPLATE.
| TEX_TEMPLATE DataVec texture | ( | T | , |
| FltCoord | , | ||
| float | = 0.0f ) |
References RET, T, and TEX_TEMPLATE.
Referenced by blender::draw::Manager::acquire_texture(), blender::gpu::MTLFrameBuffer::add_color_attachment(), blender::gpu::MTLFrameBuffer::add_depth_attachment(), blender::nodes::add_eval_dependencies_from_socket(), blender::gpu::MTLFrameBuffer::add_stencil_attachment(), blender::gpu::MTLFrameBuffer::bake_render_pass_descriptor(), blender::draw::Manager::begin_sync(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_texture(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_texture(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_texture(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_texture(), BKE_texture_dependsOnTime(), BKE_texture_dependsOnTime(), BKE_texture_fetch_images_for_pool(), BKE_texture_get_value(), BKE_texture_get_value_ex(), BKE_texture_is_image_user(), blf_batch_draw(), blender::gpu::MTLFrameBuffer::blit(), blender::deg::DepsgraphRelationBuilder::build_nodetree_socket(), blender::deg::DepsgraphNodeBuilder::build_texture(), blender::deg::DepsgraphRelationBuilder::build_texture(), blender::ocio::GPUShaderBinder::create_gpu_shader(), blender::ed::vse::create_texture(), GeometryManager::create_volume_mesh(), draw_display_buffer(), blender::workbench::Instance::draw_mesh(), draw_plane_marker_image(), draw_tile(), DRW_view_data_reset(), blender::gpu::MTLContext::ensure_texture_bindings(), blender::gpu::MTLContext::ensure_texture_bindings(), blender::gpu::MTLFrameBuffer::get_color_attachment_slot_from_texture(), blender::workbench::MeshPass::get_subpass(), GPU_image_tiled(), GPU_texture_anisotropic_filter(), GPU_texture_bind(), GPU_texture_bind_ex(), GPU_texture_compare_mode(), GPU_texture_depth(), GPU_texture_dimensions(), GPU_texture_extend_mode(), GPU_texture_extend_mode_x(), GPU_texture_extend_mode_y(), GPU_texture_filter_mode(), GPU_texture_format(), GPU_texture_free(), GPU_texture_get_mipmap_size(), GPU_texture_has_depth_format(), GPU_texture_has_float_format(), GPU_texture_has_integer_format(), GPU_texture_has_normalized_format(), GPU_texture_has_signed_format(), GPU_texture_has_stencil_format(), GPU_texture_height(), GPU_texture_is_array(), GPU_texture_is_cube(), GPU_texture_layer_count(), GPU_texture_mip_count(), GPU_texture_mipmap_mode(), GPU_texture_original_height(), GPU_texture_original_size_set(), GPU_texture_original_width(), GPU_texture_py_reference_get(), GPU_texture_py_reference_set(), GPU_texture_read(), GPU_texture_ref(), GPU_texture_swizzle_set(), GPU_texture_unbind(), GPU_texture_update_mipmap(), GPU_texture_update_sub_from_pixel_buffer(), GPU_texture_width(), blender::ocio::FallbackGPUShaderBinder::GPUShaderBinder(), blender::workbench::Instance::hair_sync(), blender::gpu::MTLFrameBuffer::has_color_attachment_with_texture(), blender::gpu::VKStateManager::image_bind(), image_foreach_cache(), blender::gpu::VKStateManager::image_unbind(), blender::gpu::VKTexture::init_internal(), blender::nodes::init_socket_cpp_value_from_property(), blender::compositor::is_compatible_texture(), make_socket_type_texture(), blender::workbench::Instance::mesh_sync(), blender::gpu::MTLStorageBuf::MTLStorageBuf(), blender::ed::sculpt_paint::paint_draw_tex_overlay(), blender::compositor::parallel_reduction_dispatch(), blender::seq::preview_cache_set_gpu_display_texture(), blender::seq::preview_cache_set_gpu_texture(), blender::ed::vse::preview_draw_texture_simple(), blender::ed::vse::preview_draw_texture_to_linear(), pygpu_offscreen_texture_color_get(), blender::gpu::VKFrameBuffer::read(), blender::workbench::Instance::sculpt_sync(), blender::eevee::HiZBuffer::set_source(), blender::gpu::VKFrameBuffer::subpass_transition_impl(), blender::eevee::LookdevWorld::sync(), blender::gpu::tests::test_compute_direct(), blender::gpu::tests::test_compute_indirect(), blender::gpu::tests::test_framebuffer_clear_color_single_attachment(), blender::gpu::tests::test_framebuffer_clear_depth(), blender::gpu::tests::test_framebuffer_multi_viewport(), blender::gpu::tests::test_framebuffer_scissor_test(), blender::gpu::tests::test_shader_compute_1d(), blender::gpu::tests::test_shader_compute_2d(), blender::gpu::tests::test_texture_update_sub_no_unpack_row_length(), blender::gpu::tests::test_texture_update_sub_unpack_row_length(), blender::gpu::VKStateManager::texture_bind(), blender::gpu::tests::texture_create_upload_read(), blender::gpu::tests::texture_create_upload_read_pixel(), blender::gpu::tests::texture_create_upload_read_with_bias(), texture_foreach_id(), texture_free_data(), texture_init_data(), texture_nodes_fetch_images_for_pool(), blender::gpu::VKStateManager::texture_unbind(), blender::ed::outliner::TreeElementIDTexture::TreeElementIDTexture(), uiTemplateTextureShow(), blender::gpu::VKFrameBuffer::update_srgb(), update_tile_texture_pixels(), blender::gpu::VKImageView::VKImageView(), weightvg_do_mask(), wm_draw_offscreen_texture_parameters(), wm_draw_region_blend(), wm_draw_window(), wm_software_cursor_draw_bitmap(), blender::gpu::wrap(), blender::compositor::Result::wrap_external(), and blender::draw::Manager::~Manager().
| TEX_TEMPLATE DataVec textureGather | ( | T | , |
| FltCoord | ) |
References RET, T, TEX_TEMPLATE, and textureGather().
Referenced by textureGather().
| TEX_TEMPLATE DataVec textureGrad | ( | T | , |
| FltCoord | , | ||
| DerivVec | , | ||
| DerivVec | ) |
References RET, T, TEX_TEMPLATE, and textureGrad().
Referenced by textureGrad().
| TEX_TEMPLATE DataVec textureLod | ( | T | , |
| FltCoord | , | ||
| float | ) |
References RET, T, TEX_TEMPLATE, and textureLod().
Referenced by textureLod().
| TEX_TEMPLATE DataVec textureLodOffset | ( | T | , |
| FltCoord | , | ||
| float | , | ||
| IntCoord | ) |
References RET, T, TEX_TEMPLATE, and textureLodOffset().
Referenced by textureLodOffset().
| TEX_TEMPLATE SizeVec textureSize | ( | T | , |
| int | ) |
References RET, T, and TEX_TEMPLATE.