MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / GetMaxSize

Method GetMaxSize

cpp/5_Domain_Specific/smokeParticles/renderbuffer.cpp:105–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103GLuint Renderbuffer::GetId() const { return m_bufId; }
104
105GLint Renderbuffer::GetMaxSize()
106{
107 GLint maxAttach = 0;
108 glGetIntegerv(GL_MAX_RENDERBUFFER_SIZE_EXT, &maxAttach);
109 return maxAttach;
110}
111
112GLuint Renderbuffer::_CreateBufferId()
113{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected