Blender V4.3
blender::opensubdiv::GLStencilTableSSBO Class Reference

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

#include <gl_compute_evaluator.h>

Public Member Functions

 GLStencilTableSSBO (OpenSubdiv::Far::StencilTable const *stencilTable)
 
 GLStencilTableSSBO (OpenSubdiv::Far::LimitStencilTable const *limitStencilTable)
 
 ~GLStencilTableSSBO ()
 
GLuint GetSizesBuffer () const
 
GLuint GetOffsetsBuffer () const
 
GLuint GetIndicesBuffer () const
 
GLuint GetWeightsBuffer () const
 
GLuint GetDuWeightsBuffer () const
 
GLuint GetDvWeightsBuffer () const
 
GLuint GetDuuWeightsBuffer () const
 
GLuint GetDuvWeightsBuffer () const
 
GLuint GetDvvWeightsBuffer () const
 
int GetNumStencils () const
 

Static Public Member Functions

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

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 30 of file gl_compute_evaluator.h.

Constructor & Destructor Documentation

◆ GLStencilTableSSBO() [1/2]

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

Referenced by Create(), and Create().

◆ GLStencilTableSSBO() [2/2]

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

◆ ~GLStencilTableSSBO()

blender::opensubdiv::GLStencilTableSSBO::~GLStencilTableSSBO ( )

Definition at line 110 of file gl_compute_evaluator.cc.

Member Function Documentation

◆ Create() [1/2]

static GLStencilTableSSBO * blender::opensubdiv::GLStencilTableSSBO::Create ( OpenSubdiv::Far::LimitStencilTable const * limitStencilTable,
void * deviceContext = NULL )
inlinestatic

Definition at line 38 of file gl_compute_evaluator.h.

References GLStencilTableSSBO().

◆ Create() [2/2]

static GLStencilTableSSBO * blender::opensubdiv::GLStencilTableSSBO::Create ( OpenSubdiv::Far::StencilTable const * stencilTable,
void * deviceContext = NULL )
inlinestatic

Definition at line 32 of file gl_compute_evaluator.h.

References GLStencilTableSSBO().

◆ GetDuuWeightsBuffer()

GLuint blender::opensubdiv::GLStencilTableSSBO::GetDuuWeightsBuffer ( ) const
inline

Definition at line 74 of file gl_compute_evaluator.h.

◆ GetDuvWeightsBuffer()

GLuint blender::opensubdiv::GLStencilTableSSBO::GetDuvWeightsBuffer ( ) const
inline

Definition at line 78 of file gl_compute_evaluator.h.

◆ GetDuWeightsBuffer()

GLuint blender::opensubdiv::GLStencilTableSSBO::GetDuWeightsBuffer ( ) const
inline

Definition at line 66 of file gl_compute_evaluator.h.

◆ GetDvvWeightsBuffer()

GLuint blender::opensubdiv::GLStencilTableSSBO::GetDvvWeightsBuffer ( ) const
inline

Definition at line 82 of file gl_compute_evaluator.h.

◆ GetDvWeightsBuffer()

GLuint blender::opensubdiv::GLStencilTableSSBO::GetDvWeightsBuffer ( ) const
inline

Definition at line 70 of file gl_compute_evaluator.h.

◆ GetIndicesBuffer()

GLuint blender::opensubdiv::GLStencilTableSSBO::GetIndicesBuffer ( ) const
inline

Definition at line 58 of file gl_compute_evaluator.h.

◆ GetNumStencils()

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

Definition at line 86 of file gl_compute_evaluator.h.

◆ GetOffsetsBuffer()

GLuint blender::opensubdiv::GLStencilTableSSBO::GetOffsetsBuffer ( ) const
inline

Definition at line 54 of file gl_compute_evaluator.h.

◆ GetSizesBuffer()

GLuint blender::opensubdiv::GLStencilTableSSBO::GetSizesBuffer ( ) const
inline

Definition at line 50 of file gl_compute_evaluator.h.

◆ GetWeightsBuffer()

GLuint blender::opensubdiv::GLStencilTableSSBO::GetWeightsBuffer ( ) const
inline

Definition at line 62 of file gl_compute_evaluator.h.


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