VTK  9.7.1
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  GLSLAttributeType {
  GLSLAttributeType::Mat3, GLSLAttributeType::Mat4, GLSLAttributeType::SamplerBuffer, GLSLAttributeType::SamplerCube,
  GLSLAttributeType::Sampler2D, GLSLAttributeType::Sampler1D, GLSLAttributeType::Scalar, GLSLAttributeType::Vec2,
  GLSLAttributeType::Vec3, GLSLAttributeType::Vec4
}
 
enum  GLSLDataType { GLSLDataType::Unsigned, GLSLDataType::Integer, GLSLDataType::Float }
 
enum  GLSLPrecisionType { GLSLPrecisionType::Low, GLSLPrecisionType::Medium, GLSLPrecisionType::High, GLSLPrecisionType::None }
 
enum  GLSLQualifierType { GLSLQualifierType::Uniform, GLSLQualifierType::In, GLSLQualifierType::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

Enumerator
Mat3 
Mat4 
SamplerBuffer 
SamplerCube 
Sampler2D 
Sampler1D 
Scalar 
Vec2 
Vec3 
Vec4 

Definition at line 19 of file vtkOpenGLShaderDeclaration.h.

Enumerator
Unsigned 
Integer 
Float 

Definition at line 33 of file vtkOpenGLShaderDeclaration.h.

Enumerator
Low 
Medium 
High 
None 

Definition at line 40 of file vtkOpenGLShaderDeclaration.h.

Enumerator
Uniform 
In 
Out 

Definition at line 48 of file vtkOpenGLShaderDeclaration.h.

Constructor & Destructor Documentation

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

Definition at line 60 of file vtkOpenGLShaderDeclaration.h.

Friends And Related Function Documentation

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

Definition at line 70 of file vtkOpenGLShaderDeclaration.h.

Member Data Documentation

GLSLQualifierType vtkOpenGLShaderDeclaration::QualifierType

Definition at line 54 of file vtkOpenGLShaderDeclaration.h.

GLSLPrecisionType vtkOpenGLShaderDeclaration::PrecisionType

Definition at line 55 of file vtkOpenGLShaderDeclaration.h.

GLSLDataType vtkOpenGLShaderDeclaration::DataType

Definition at line 56 of file vtkOpenGLShaderDeclaration.h.

GLSLAttributeType vtkOpenGLShaderDeclaration::AttributeType

Definition at line 57 of file vtkOpenGLShaderDeclaration.h.

vtkStringToken vtkOpenGLShaderDeclaration::VariableName

Definition at line 58 of file vtkOpenGLShaderDeclaration.h.


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