Blender  V3.3
Public Member Functions | Static Public Member Functions | List of all members
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 51 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().

◆ GLStencilTableSSBO() [2/2]

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

◆ ~GLStencilTableSSBO()

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

Definition at line 117 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 59 of file gl_compute_evaluator.h.

References GLStencilTableSSBO(), and void.

◆ Create() [2/2]

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

Definition at line 53 of file gl_compute_evaluator.h.

References GLStencilTableSSBO(), and void.

◆ GetDuuWeightsBuffer()

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

Definition at line 95 of file gl_compute_evaluator.h.

◆ GetDuvWeightsBuffer()

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

Definition at line 99 of file gl_compute_evaluator.h.

◆ GetDuWeightsBuffer()

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

Definition at line 87 of file gl_compute_evaluator.h.

◆ GetDvvWeightsBuffer()

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

Definition at line 103 of file gl_compute_evaluator.h.

◆ GetDvWeightsBuffer()

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

Definition at line 91 of file gl_compute_evaluator.h.

◆ GetIndicesBuffer()

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

Definition at line 79 of file gl_compute_evaluator.h.

◆ GetNumStencils()

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

Definition at line 107 of file gl_compute_evaluator.h.

◆ GetOffsetsBuffer()

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

Definition at line 75 of file gl_compute_evaluator.h.

◆ GetSizesBuffer()

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

Definition at line 71 of file gl_compute_evaluator.h.

◆ GetWeightsBuffer()

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

Definition at line 83 of file gl_compute_evaluator.h.


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