24 #ifndef PXR_IMAGING_HD_ST_GL_CONVERSIONS_H
25 #define PXR_IMAGING_HD_ST_GL_CONVERSIONS_H
28 #include "pxr/imaging/hdSt/api.h"
29 #include "pxr/imaging/hd/enums.h"
30 #include "pxr/imaging/hd/types.h"
31 #include "pxr/imaging/hio/types.h"
34 PXR_NAMESPACE_OPEN_SCOPE
37 class HdStGLConversions {
42 static size_t GetComponentSize(
int glDataType);
45 static GLenum GetGlDepthFunc(HdCompareFunction func);
48 static GLenum GetGlStencilFunc(HdCompareFunction func);
51 static GLenum GetGlStencilOp(HdStencilOp op);
54 static GLenum GetGlBlendOp(HdBlendOp op);
57 static GLenum GetGlBlendFactor(HdBlendFactor factor);
60 static int GetGLAttribType(HdType type);
64 static TfToken GetGLSLTypename(HdType type);
72 PXR_NAMESPACE_CLOSE_SCOPE
74 #endif // PXR_IMAGING_HD_ST_GL_CONVERSIONS_H
Token for efficient comparison, assignment, and hashing of known strings.
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...