|
U3D
Open-source, cross-platform 2D and 3D game engine built in C++
|
Graphics subsystem implementation. Holds API-specific objects. More...
#include </var/dev/u3d/stable/Source/Urho3D/Graphics/OpenGL/OGLGraphicsImpl.h>
Public Member Functions | |
| GraphicsImpl ()=default | |
| Construct. | |
| const SDL_GLContext & | GetGLContext () |
| Return the GL Context. | |
Private Attributes | |
| SDL_GLContext | context_ {} |
| SDL OpenGL context. | |
| unsigned | systemFBO_ {} |
| iOS/tvOS system framebuffer handle. | |
| unsigned | activeTexture_ {} |
| Active texture unit. | |
| unsigned | enabledVertexAttributes_ {} |
| Enabled vertex attributes bitmask. | |
| unsigned | usedVertexAttributes_ {} |
| Vertex attributes bitmask used by the current shader program. | |
| unsigned | instancingVertexAttributes_ {} |
| Vertex attribute instancing bitmask for keeping track of divisors. | |
| const HashMap< Pair< unsigned char, unsigned char >, unsigned > * | vertexAttributes_ {} |
| Current mapping of vertex attribute locations by semantic. The map is owned by the shader program, so care must be taken to switch a null shader program when it's destroyed. | |
| unsigned | boundFBO_ {} |
| Currently bound frame buffer object. | |
| unsigned | boundVBO_ {} |
| Currently bound vertex buffer object. | |
| unsigned | boundUBO_ {} |
| Currently bound uniform buffer object. | |
| unsigned | resolveSrcFBO_ {} |
| Read frame buffer for multisampled texture resolves. | |
| unsigned | resolveDestFBO_ {} |
| Write frame buffer for multisampled texture resolves. | |
| int | pixelFormat_ {} |
| Current pixel format. | |
| HashMap< unsigned long long, FrameBufferObject > | frameBuffers_ |
| Map for FBO's per resolution and format. | |
| unsigned | textureTypes_ [MAX_TEXTURE_UNITS] {} |
| OpenGL texture types in use. | |
| ConstantBufferMap | allConstantBuffers_ |
| Constant buffer search map. | |
| ConstantBuffer * | constantBuffers_ [MAX_SHADER_PARAMETER_GROUPS *2] {} |
| Currently bound constant buffers. | |
| PODVector< ConstantBuffer * > | dirtyConstantBuffers_ |
| Dirty constant buffers. | |
| unsigned | lastInstanceOffset_ {} |
| Last used instance data offset. | |
| HashMap< unsigned, SharedPtr< Texture2D > > | depthTextures_ |
| Map for additional depth textures, to emulate Direct3D9 ability to mix render texture and backbuffer rendering. | |
| ShaderProgram * | shaderProgram_ {} |
| Shader program in use. | |
| ShaderProgramMap | shaderPrograms_ |
| Linked shader programs. | |
| bool | fboDirty_ {} |
| Need FBO commit flag. | |
| bool | vertexBuffersDirty_ {} |
| Need vertex attribute pointer update flag. | |
| bool | sRGBWrite_ {} |
| sRGB write mode flag. | |
Friends | |
| class | Graphics |
Graphics subsystem implementation. Holds API-specific objects.