Blender V5.0
blender::opensubdiv::GPUStencilTableSSBO Class Reference

GL stencil table (Shader Storage buffer). More...

#include <gpu_compute_evaluator.h>

Public Member Functions

 GPUStencilTableSSBO (OpenSubdiv::Far::StencilTable const *stencilTable)
 GPUStencilTableSSBO (OpenSubdiv::Far::LimitStencilTable const *limitStencilTable)
 ~GPUStencilTableSSBO ()
gpu::StorageBufGetSizesBuffer () const
gpu::StorageBufGetOffsetsBuffer () const
gpu::StorageBufGetIndicesBuffer () const
gpu::StorageBufGetWeightsBuffer () const
gpu::StorageBufGetDuWeightsBuffer () const
gpu::StorageBufGetDvWeightsBuffer () const
gpu::StorageBufGetDuuWeightsBuffer () const
gpu::StorageBufGetDuvWeightsBuffer () const
gpu::StorageBufGetDvvWeightsBuffer () const
int GetNumStencils () const

Static Public Member Functions

static GPUStencilTableSSBOCreate (OpenSubdiv::Far::StencilTable const *stencilTable, void *deviceContext=nullptr)
static GPUStencilTableSSBOCreate (OpenSubdiv::Far::LimitStencilTable const *limitStencilTable, void *deviceContext=nullptr)

Detailed Description

GL stencil table (Shader Storage buffer).

This class is a GLSL SSBO representation of OpenSubdiv::Far::StencilTable.

GLSLComputeKernel consumes this table to apply stencils

Definition at line 28 of file gpu_compute_evaluator.h.

Constructor & Destructor Documentation

◆ GPUStencilTableSSBO() [1/2]

blender::opensubdiv::GPUStencilTableSSBO::GPUStencilTableSSBO ( OpenSubdiv::Far::StencilTable const * stencilTable)
explicit

Referenced by Create(), and Create().

◆ GPUStencilTableSSBO() [2/2]

blender::opensubdiv::GPUStencilTableSSBO::GPUStencilTableSSBO ( OpenSubdiv::Far::LimitStencilTable const * limitStencilTable)
explicit

◆ ~GPUStencilTableSSBO()

blender::opensubdiv::GPUStencilTableSSBO::~GPUStencilTableSSBO ( )

Member Function Documentation

◆ Create() [1/2]

GPUStencilTableSSBO * blender::opensubdiv::GPUStencilTableSSBO::Create ( OpenSubdiv::Far::LimitStencilTable const * limitStencilTable,
void * deviceContext = nullptr )
inlinestatic

Definition at line 36 of file gpu_compute_evaluator.h.

References GPUStencilTableSSBO().

◆ Create() [2/2]

GPUStencilTableSSBO * blender::opensubdiv::GPUStencilTableSSBO::Create ( OpenSubdiv::Far::StencilTable const * stencilTable,
void * deviceContext = nullptr )
inlinestatic

Definition at line 30 of file gpu_compute_evaluator.h.

References GPUStencilTableSSBO().

◆ GetDuuWeightsBuffer()

gpu::StorageBuf * blender::opensubdiv::GPUStencilTableSSBO::GetDuuWeightsBuffer ( ) const
inline

Definition at line 72 of file gpu_compute_evaluator.h.

◆ GetDuvWeightsBuffer()

gpu::StorageBuf * blender::opensubdiv::GPUStencilTableSSBO::GetDuvWeightsBuffer ( ) const
inline

Definition at line 76 of file gpu_compute_evaluator.h.

◆ GetDuWeightsBuffer()

gpu::StorageBuf * blender::opensubdiv::GPUStencilTableSSBO::GetDuWeightsBuffer ( ) const
inline

Definition at line 64 of file gpu_compute_evaluator.h.

◆ GetDvvWeightsBuffer()

gpu::StorageBuf * blender::opensubdiv::GPUStencilTableSSBO::GetDvvWeightsBuffer ( ) const
inline

Definition at line 80 of file gpu_compute_evaluator.h.

◆ GetDvWeightsBuffer()

gpu::StorageBuf * blender::opensubdiv::GPUStencilTableSSBO::GetDvWeightsBuffer ( ) const
inline

Definition at line 68 of file gpu_compute_evaluator.h.

◆ GetIndicesBuffer()

gpu::StorageBuf * blender::opensubdiv::GPUStencilTableSSBO::GetIndicesBuffer ( ) const
inline

Definition at line 56 of file gpu_compute_evaluator.h.

◆ GetNumStencils()

int blender::opensubdiv::GPUStencilTableSSBO::GetNumStencils ( ) const
inline

Definition at line 84 of file gpu_compute_evaluator.h.

◆ GetOffsetsBuffer()

gpu::StorageBuf * blender::opensubdiv::GPUStencilTableSSBO::GetOffsetsBuffer ( ) const
inline

Definition at line 52 of file gpu_compute_evaluator.h.

◆ GetSizesBuffer()

gpu::StorageBuf * blender::opensubdiv::GPUStencilTableSSBO::GetSizesBuffer ( ) const
inline

Definition at line 48 of file gpu_compute_evaluator.h.

◆ GetWeightsBuffer()

gpu::StorageBuf * blender::opensubdiv::GPUStencilTableSSBO::GetWeightsBuffer ( ) const
inline

Definition at line 60 of file gpu_compute_evaluator.h.


The documentation for this class was generated from the following files: