HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdStGLConversions Class Reference

#include <glConversions.h>

Static Public Member Functions

static HDST_API size_t GetComponentSize (int glDataType)
 
static HDST_API GLenum GetGlDepthFunc (HdCompareFunction func)
 
static HDST_API GLenum GetGlStencilFunc (HdCompareFunction func)
 
static HDST_API GLenum GetGlStencilOp (HdStencilOp op)
 
static HDST_API GLenum GetGlBlendOp (HdBlendOp op)
 
static HDST_API GLenum GetGlBlendFactor (HdBlendFactor factor)
 
static HDST_API int GetGLAttribType (HdType type)
 
static HDST_API TfToken GetGLSLTypename (HdType type)
 Return the name of the given type as represented in GLSL. More...
 
static HDST_API TfToken GetGLSLIdentifier (TfToken const &identifier)
 Return a GLSL-safe, mangled name identifier. More...
 

Detailed Description

Definition at line 37 of file glConversions.h.

Member Function Documentation

static HDST_API size_t HdStGLConversions::GetComponentSize ( int  glDataType)
static

Returns the size of glDataType. For example: sizeof(GLuint)

static HDST_API int HdStGLConversions::GetGLAttribType ( HdType  type)
static
static HDST_API GLenum HdStGLConversions::GetGlBlendFactor ( HdBlendFactor  factor)
static
static HDST_API GLenum HdStGLConversions::GetGlBlendOp ( HdBlendOp  op)
static
static HDST_API GLenum HdStGLConversions::GetGlDepthFunc ( HdCompareFunction  func)
static
static HDST_API TfToken HdStGLConversions::GetGLSLIdentifier ( TfToken const identifier)
static

Return a GLSL-safe, mangled name identifier.

static HDST_API TfToken HdStGLConversions::GetGLSLTypename ( HdType  type)
static

Return the name of the given type as represented in GLSL.

static HDST_API GLenum HdStGLConversions::GetGlStencilFunc ( HdCompareFunction  func)
static
static HDST_API GLenum HdStGLConversions::GetGlStencilOp ( HdStencilOp  op)
static

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