|
Blender V5.3
|
#include <subdiv_patch_evaluation.bsl.hh>
Public Member Functions | |
| float2 | read_vec2 (int index) const |
| float3 | read_vec3 (int index) const |
| float3 | read_vec3_extra (int index) const |
| OsdPatchArray | GetPatchArray (int arrayIndex) const |
| OsdPatchParam | GetPatchParam (int patchIndex) const |
| PatchHandle | find_patch (int face_index, float u, float v) const |
| OsdPatchCoord | GetPatchCoord (int face_index, float u, float v) const |
| void | evaluate_patches_limits (int patch_index, float u, float v, float2 &dst) const |
| void | evaluate_patches_limits (int patch_index, float u, float v, float3 &dst, float3 &du, float3 &dv) const |
| void | evaluate_patches_limits_extra (int patch_index, float u, float v, float3 &dst) const |
Public Attributes | |
| PatchEvalConsts | consts |
| SubdivResources | srt |
| const float(& | srcVertexBuffer )[] |
| const PatchHandle(& | input_patch_handles )[] |
| const QuadNode(& | quad_nodes )[] |
| const BlenderPatchCoord(& | patch_coords )[] |
| const OsdPatchArray(& | patchArrayBuffer )[] |
| const int(& | patchIndexBuffer )[] |
| const OsdPatchParam(& | patchParamBuffer )[] |
| const float(& | srcExtraVertexBuffer )[] |
Definition at line 114 of file subdiv_patch_evaluation.bsl.hh.
|
inline |
Definition at line 228 of file subdiv_patch_evaluation.bsl.hh.
References GetPatchArray(), GetPatchCoord(), GetPatchParam(), index, patchIndexBuffer, read_vec2(), SubdivResources::shader_data, DRWSubdivUboStorage::src_offset, and srt.
|
inline |
Definition at line 249 of file subdiv_patch_evaluation.bsl.hh.
References GetPatchArray(), GetPatchCoord(), GetPatchParam(), index, patchIndexBuffer, and read_vec3().
|
inline |
Definition at line 275 of file subdiv_patch_evaluation.bsl.hh.
References consts, subdiv::PatchEvalConsts::do_orcos, GetPatchArray(), GetPatchCoord(), GetPatchParam(), index, patchIndexBuffer, read_vec3_extra(), and static_branch.
|
inline |
Definition at line 175 of file subdiv_patch_evaluation.bsl.hh.
References subdiv::bogus_patch_handle(), get_index(), input_patch_handles, is_leaf(), is_set(), DRWSubdivUboStorage::max_depth, DRWSubdivUboStorage::max_patch_face, DRWSubdivUboStorage::min_patch_face, node, DRWSubdivUboStorage::patches_are_triangular, quad_nodes, SubdivResources::shader_data, srt, subdiv::transformUVToQuadQuadrant(), and subdiv::transformUVToTriQuadrant().
Referenced by GetPatchCoord().
|
inline |
Definition at line 165 of file subdiv_patch_evaluation.bsl.hh.
References patchArrayBuffer.
Referenced by evaluate_patches_limits(), evaluate_patches_limits(), and evaluate_patches_limits_extra().
Definition at line 205 of file subdiv_patch_evaluation.bsl.hh.
References PatchHandle::array_index, subdiv::bogus_patch_coord(), find_patch(), PatchHandle::patch_index, and PatchHandle::vertex_index.
Referenced by evaluate_patches_limits(), evaluate_patches_limits(), and evaluate_patches_limits_extra().
|
inline |
Definition at line 170 of file subdiv_patch_evaluation.bsl.hh.
References patchParamBuffer.
Referenced by evaluate_patches_limits(), evaluate_patches_limits(), and evaluate_patches_limits_extra().
|
inline |
Definition at line 137 of file subdiv_patch_evaluation.bsl.hh.
References index, and srcVertexBuffer.
Referenced by evaluate_patches_limits().
|
inline |
Definition at line 145 of file subdiv_patch_evaluation.bsl.hh.
References index, and srcVertexBuffer.
Referenced by evaluate_patches_limits().
|
inline |
Definition at line 154 of file subdiv_patch_evaluation.bsl.hh.
References consts, subdiv::PatchEvalConsts::do_orcos, index, srcExtraVertexBuffer, and static_branch.
Referenced by evaluate_patches_limits_extra().
| PatchEvalConsts subdiv::PatchEval::consts |
Definition at line 115 of file subdiv_patch_evaluation.bsl.hh.
Referenced by evaluate_patches_limits_extra(), and read_vec3_extra().
| const PatchHandle(& subdiv::PatchEval::input_patch_handles)[] |
Definition at line 122 of file subdiv_patch_evaluation.bsl.hh.
Referenced by find_patch().
| const BlenderPatchCoord(& subdiv::PatchEval::patch_coords)[] |
Definition at line 127 of file subdiv_patch_evaluation.bsl.hh.
| const OsdPatchArray(& subdiv::PatchEval::patchArrayBuffer)[] |
Definition at line 129 of file subdiv_patch_evaluation.bsl.hh.
Referenced by GetPatchArray().
| const int(& subdiv::PatchEval::patchIndexBuffer)[] |
Definition at line 130 of file subdiv_patch_evaluation.bsl.hh.
Referenced by evaluate_patches_limits(), evaluate_patches_limits(), and evaluate_patches_limits_extra().
| const OsdPatchParam(& subdiv::PatchEval::patchParamBuffer)[] |
Definition at line 132 of file subdiv_patch_evaluation.bsl.hh.
Referenced by GetPatchParam().
| const QuadNode(& subdiv::PatchEval::quad_nodes)[] |
Definition at line 124 of file subdiv_patch_evaluation.bsl.hh.
Referenced by find_patch().
| const float(& subdiv::PatchEval::srcExtraVertexBuffer)[] |
Definition at line 135 of file subdiv_patch_evaluation.bsl.hh.
Referenced by read_vec3_extra().
| const float(& subdiv::PatchEval::srcVertexBuffer)[] |
Definition at line 119 of file subdiv_patch_evaluation.bsl.hh.
Referenced by read_vec2(), and read_vec3().
| SubdivResources subdiv::PatchEval::srt |
Definition at line 116 of file subdiv_patch_evaluation.bsl.hh.
Referenced by evaluate_patches_limits(), and find_patch().