25#ifndef ODTRMTLLOCALCONTEXT
26#define ODTRMTLLOCALCONTEXT
30#include "../TrRndLocalContext.h"
32class OdTrMetalShadersRuntime;
57 virtual void glDeleteTextures(
GLsizei n,
const GLuint * textures) {};
60 virtual void glEnable(
GLenum cap) {};
61 virtual void glDisable(
GLenum cap) {};
65 virtual void glClearStencil(
GLint s) {};
68 virtual void glDepthMask(
GLboolean flag) {};
73 virtual void glBlendFunc(
GLenum sfactor,
GLenum dfactor) {};
79 virtual void glCullFace(
GLenum mode) {};
OdSmartPtr< OdTrMetalLocalContext > OdTrMetalLocalContextPtr
static OdSmartPtr< OdTrMetalLocalContext > createLocalContext(OdTrVisRenderClient *pDevice)
virtual void MetalSetAttributeBuffer(GLuint index, int MetalIndex, int Size)
virtual void SendDepthRangeDiff(int index, int isVertex)
virtual void SetVertexAttribPointerSize(GLuint Size)
virtual bool IsAttributeEnabled(GLuint index)
virtual void SetShadersRuntime(OdTrMetalShadersRuntime *ShadersRuntime)
GLfloat GLfloat GLfloat alpha
#define glCheckFramebufferStatus
#define glBlendFuncSeparate
GLint GLenum GLsizei width
#define glFramebufferTexture2D
GLint GLenum GLsizei GLsizei GLint GLsizei const void * data
GLuint GLsizei GLsizei GLint GLenum * type
#define glBindFramebuffer
#define glGenRenderbuffers
const GLuint * framebuffers
GLenum GLenum GLuint texture
const GLuint * renderbuffers
#define glBindRenderbuffer
#define glDeleteFramebuffers
#define glFramebufferRenderbuffer
GLint GLint GLint GLsizei GLsizei GLenum format
GLint GLenum internalformat
GLint GLenum GLsizei GLsizei GLint border
GLenum GLenum GLenum dppass
#define glDeleteRenderbuffers
GLenum GLenum renderbuffertarget
#define glRenderbufferStorage
GLint GLenum GLsizei GLsizei height
#define glBlendEquationSeparate
#define glGenFramebuffers