|
Blender V5.3
|
#include "gpu_shader_compat.hh"#include "draw_subdiv_shader_shared.hh"#include "osd_patch_defines.glsl"#include "osd_patch_basis.glsl"#include "draw_subdiv_defines.hh"#include "subdiv_common.bsl.hh"Go to the source code of this file.
Classes | |
| struct | subdiv::PatchEvalConsts |
| struct | subdiv::PatchEval |
| struct | subdiv::FvarEval |
| struct | subdiv::FdotsConsts |
| struct | subdiv::FdotsEval |
| struct | subdiv::VertsEval |
Namespaces | |
| namespace | subdiv |
Functions | |
Patch Coordinate Lookup | |
Return an #OsdPatchCoord for the given patch_index and UVs. This code is a port of the OpenSubdiv PatchMap lookup code. | |
| PatchHandle | subdiv::bogus_patch_handle () |
| int | subdiv::transformUVToQuadQuadrant (float median, float &u, float &v) |
| int | subdiv::transformUVToTriQuadrant (float median, float &u, float &v, bool &rotated) |
| OsdPatchCoord | subdiv::bogus_patch_coord (int face_index, float u, float v) |
Face Varying (UVs) | |
| void | subdiv::patch_eval_fvar (const SubdivResources &srt, const PatchEval &eval, FvarEval &res, const uint3 global_id, const uint3 num_work_groups) |
Face Dots | |
| void | subdiv::patch_eval_fdots (const SubdivResources &srt, const PatchEval &eval, FdotsEval &res, const uint3 global_id, const uint3 num_work_groups) |
Vertices | |
| void | subdiv::patch_eval_verts (const SubdivResources &srt, const PatchEval &eval, VertsEval &res, const uint3 global_id, const uint3 num_work_groups) |
Variables | |
| PipelineCompute | subdiv::patch_evaluation_fvar (patch_eval_fvar, PatchEvalConsts{ .do_orcos=false,.use_1st_derivatives=true, }) |
| PipelineCompute | subdiv::patch_evaluation_fdots (patch_eval_fdots, PatchEvalConsts{ .do_orcos=false,.use_1st_derivatives=true, }, FdotsConsts{ .do_normals=false, }) |
| PipelineCompute | subdiv::patch_evaluation_fdots_normals (patch_eval_fdots, PatchEvalConsts{ .do_orcos=false,.use_1st_derivatives=true, }, FdotsConsts{ .do_normals=true, }) |
| PipelineCompute | subdiv::patch_evaluation_verts (patch_eval_verts, PatchEvalConsts{ .do_orcos=false,.use_1st_derivatives=true, }) |
| PipelineCompute | subdiv::patch_evaluation_verts_orcos (patch_eval_verts, PatchEvalConsts{ .do_orcos=true,.use_1st_derivatives=true, }) |