VTK  9.4.20241221
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
vtkOpenGLShaderDeclaration Class Reference

#include <vtkOpenGLShaderDeclaration.h>

Collaboration diagram for vtkOpenGLShaderDeclaration:
[legend]

Public Types

enum class  GLSLAttributeType {
  Mat3 , Mat4 , SamplerBuffer , SamplerCube ,
  Sampler2D , Sampler1D , Scalar , Vec2 ,
  Vec3 , Vec4
}
 
enum class  GLSLDataType { Unsigned , Integer , Float }
 
enum class  GLSLPrecisionType { Low , Medium , High , None }
 
enum class  GLSLQualifierType { Uniform , In , Out }
 

Public Member Functions

 vtkOpenGLShaderDeclaration ()=default
 
 vtkOpenGLShaderDeclaration (GLSLQualifierType qual, GLSLPrecisionType prec, GLSLDataType dtype, GLSLAttributeType attr, vtkStringToken varName)
 

Public Attributes

GLSLQualifierType QualifierType
 
GLSLPrecisionType PrecisionType
 
GLSLDataType DataType
 
GLSLAttributeType AttributeType
 
vtkStringToken VariableName
 

Friends

std::ostream & operator<< (std::ostream &os, const vtkOpenGLShaderDeclaration &decl)
 

Detailed Description

Definition at line 16 of file vtkOpenGLShaderDeclaration.h.

Member Enumeration Documentation

◆ GLSLAttributeType

Enumerator
Mat3 
Mat4 
SamplerBuffer 
SamplerCube 
Sampler2D 
Sampler1D 
Scalar 
Vec2 
Vec3 
Vec4 

Definition at line 19 of file vtkOpenGLShaderDeclaration.h.

◆ GLSLDataType

Enumerator
Unsigned 
Integer 
Float 

Definition at line 33 of file vtkOpenGLShaderDeclaration.h.

◆ GLSLPrecisionType

Enumerator
Low 
Medium 
High 
None 

Definition at line 40 of file vtkOpenGLShaderDeclaration.h.

◆ GLSLQualifierType

Enumerator
Uniform 
In 
Out 

Definition at line 48 of file vtkOpenGLShaderDeclaration.h.

Constructor & Destructor Documentation

◆ vtkOpenGLShaderDeclaration() [1/2]

vtkOpenGLShaderDeclaration::vtkOpenGLShaderDeclaration ( )
default

◆ vtkOpenGLShaderDeclaration() [2/2]

vtkOpenGLShaderDeclaration::vtkOpenGLShaderDeclaration ( GLSLQualifierType  qual,
GLSLPrecisionType  prec,
GLSLDataType  dtype,
GLSLAttributeType  attr,
vtkStringToken  varName 
)
inline

Definition at line 60 of file vtkOpenGLShaderDeclaration.h.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const vtkOpenGLShaderDeclaration decl 
)
friend

Definition at line 70 of file vtkOpenGLShaderDeclaration.h.

Member Data Documentation

◆ QualifierType

GLSLQualifierType vtkOpenGLShaderDeclaration::QualifierType

Definition at line 54 of file vtkOpenGLShaderDeclaration.h.

◆ PrecisionType

GLSLPrecisionType vtkOpenGLShaderDeclaration::PrecisionType

Definition at line 55 of file vtkOpenGLShaderDeclaration.h.

◆ DataType

GLSLDataType vtkOpenGLShaderDeclaration::DataType

Definition at line 56 of file vtkOpenGLShaderDeclaration.h.

◆ AttributeType

GLSLAttributeType vtkOpenGLShaderDeclaration::AttributeType

Definition at line 57 of file vtkOpenGLShaderDeclaration.h.

◆ VariableName

vtkStringToken vtkOpenGLShaderDeclaration::VariableName

Definition at line 58 of file vtkOpenGLShaderDeclaration.h.


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