Blender V4.5
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 ()
 
GPUStorageBuf * GetSizesBuffer () const
 
GPUStorageBuf * GetOffsetsBuffer () const
 
GPUStorageBuf * GetIndicesBuffer () const
 
GPUStorageBuf * GetWeightsBuffer () const
 
GPUStorageBuf * GetDuWeightsBuffer () const
 
GPUStorageBuf * GetDvWeightsBuffer () const
 
GPUStorageBuf * GetDuuWeightsBuffer () const
 
GPUStorageBuf * GetDuvWeightsBuffer () const
 
GPUStorageBuf * GetDvvWeightsBuffer () 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]

static 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]

static 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()

GPUStorageBuf * blender::opensubdiv::GPUStencilTableSSBO::GetDuuWeightsBuffer ( ) const
inline

Definition at line 72 of file gpu_compute_evaluator.h.

◆ GetDuvWeightsBuffer()

GPUStorageBuf * blender::opensubdiv::GPUStencilTableSSBO::GetDuvWeightsBuffer ( ) const
inline

Definition at line 76 of file gpu_compute_evaluator.h.

◆ GetDuWeightsBuffer()

GPUStorageBuf * blender::opensubdiv::GPUStencilTableSSBO::GetDuWeightsBuffer ( ) const
inline

Definition at line 64 of file gpu_compute_evaluator.h.

◆ GetDvvWeightsBuffer()

GPUStorageBuf * blender::opensubdiv::GPUStencilTableSSBO::GetDvvWeightsBuffer ( ) const
inline

Definition at line 80 of file gpu_compute_evaluator.h.

◆ GetDvWeightsBuffer()

GPUStorageBuf * blender::opensubdiv::GPUStencilTableSSBO::GetDvWeightsBuffer ( ) const
inline

Definition at line 68 of file gpu_compute_evaluator.h.

◆ GetIndicesBuffer()

GPUStorageBuf * 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()

GPUStorageBuf * blender::opensubdiv::GPUStencilTableSSBO::GetOffsetsBuffer ( ) const
inline

Definition at line 52 of file gpu_compute_evaluator.h.

◆ GetSizesBuffer()

GPUStorageBuf * blender::opensubdiv::GPUStencilTableSSBO::GetSizesBuffer ( ) const
inline

Definition at line 48 of file gpu_compute_evaluator.h.

◆ GetWeightsBuffer()

GPUStorageBuf * 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: