![]() |
OGRE-Next 4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
Represents constant buffers (also known as Uniform Buffers in GL) More...
#include <OgreConstBufferPacked.h>
Represents constant buffers (also known as Uniform Buffers in GL)
|
inline |
Binds the constant buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
slot | The slot to asign this constant buffer. In D3D11 it's called 'slot'. In GLSL it's called it's called 'binding' |
Implemented in Ogre::GLES2ConstBufferPacked, Ogre::D3D11ConstBufferPacked, Ogre::GL3PlusConstBufferPacked, Ogre::MetalConstBufferPacked, Ogre::NULLConstBufferPacked, and Ogre::VulkanConstBufferPacked.
|
inlineoverridevirtual |
Useful to query which one is the derived class.
Implements Ogre::BufferPacked.
References Ogre::BP_TYPE_CONST.