 |
OGRE
1.12.5
Object-Oriented Graphics Rendering Engine
|
virtual const HardwarePixelBufferSharedPtr & getBuffer(size_t face=0, size_t mipmap=0)
Return hardware pixel buffer for a surface.
uchar * data
The data pointer.
Definition: OgrePixelFormat.h:375
This is a container class for sub render state class.
Definition: OgreShaderRenderState.h:50
16-bit pixel format, 16 bits (float) for red
Definition: OgrePixelFormat.h:120
static ResourceGroupManager & getSingleton(void)
Get the singleton instance.
Definition: OgreScriptCompiler.h:81
VertexElementList findElementsBySource(unsigned short source) const
Based on the current elements, gets the size of the vertex for a given buffer source.
#define FFP_LIB_TEXTURING
Definition: OgreShaderFFPRenderState.h:91
unsigned int uint32
Definition: OgrePlatform.h:254
Definition: OgreGpuProgram.h:50
SharedPtr< Font > FontPtr
Definition: OgreFont.h:423
same as HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY
Definition: OgreTexture.h:59
uint32 getHeight() const
Get the height of this box.
Definition: OgreCommon.h:766
size_t rowPitch
Number of elements between the leftmost pixel of one row and the left pixel of the next.
Definition: OgrePixelFormat.h:382
_StringBase String
Definition: OgreCommon.h:38
SharedPtr< HardwareVertexBuffer > HardwareVertexBufferSharedPtr
Definition: OgrePrerequisites.h:293
static MeshManager & getSingleton(void)
Get the singleton instance.
void addResourceLocation(const String &name, const String &locType, const String &resGroup=DEFAULT_RESOURCE_GROUP_NAME, bool recursive=false, bool readOnly=true)
Adds a location to the list of searchable locations for a Resource type.
void _notifyOrigin(const String &origin)
Notify this resource of it's origin.
Definition: OgreResource.h:412
SharedPtr< Texture > TexturePtr
Definition: OgrePrerequisites.h:303
CompositorInstance * addCompositor(Viewport *vp, const String &compositor, int addPosition=-1)
Add a compositor to a viewport.
void addTemplateSubRenderState(SubRenderState *subRenderState)
Add a template sub render state to this render state.
32-bit pixel format, 8 bits for alpha, red, green and blue.
Definition: OgrePixelFormat.h:77
void setCompositorEnabled(Viewport *vp, const String &compositor, bool value)
Set the state of a compositor on a viewport to enabled or disabled.
shared_ptr< Parameter > ParameterPtr
Definition: OgreShaderPrerequisites.h:73
#define FFP_FUNC_PIXELFOG_DEPTH
Definition: OgreShaderFFPRenderState.h:109
float Real
Software floating point type.
Definition: OgrePrerequisites.h:52
Combination of HBU_STATIC and HBU_WRITE_ONLY This is the optimal buffer usage setting.
Definition: OgreHardwareBuffer.h:114
static HardwareBufferManager & getSingleton(void)
Get the singleton instance.
static bool initialize()
Initialize the Shader Generator System.
static String DEFAULT_SCHEME_NAME
Default material scheme.
Definition: OgreMaterialManager.h:151
Definition: OgreGpuProgram.h:51
This class declares the format of a set of vertex inputs, which can be issued to the rendering API th...
Definition: OgreHardwareVertexBuffer.h:335
static TextureManager & getSingleton(void)
Get the singleton instance.
Image & load(const String &filename, const String &groupName)
Loads an image file.
Position, 3 reals per vertex.
Definition: OgreHardwareVertexBuffer.h:91
uint32 getWidth(void) const
Gets the width of the image in pixels.
Class representing an image file.
Definition: OgreImage.h:60
A primitive describing a volume (3D), image (2D) or line (1D) of pixels in memory.
Definition: OgrePixelFormat.h:341
Definition: OgreShaderFFPRenderState.h:50
32-bit pixel format, 8 bits for red, 8 bits for green, 8 bits for blue like Ogre::PF_A8R8G8B8,...
Definition: OgrePixelFormat.h:106
virtual HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)=0
Create a hardware vertex buffer.
2D texture, used in combination with 2D texture coordinates (default)
Definition: OgreTexture.h:98
SharedPtr< AbstractNode > AbstractNodePtr
Definition: OgreScriptCompiler.h:86
uint32 getWidth() const
Get the width of this box.
Definition: OgreCommon.h:764
uint32 getHeight(void) const
Gets the height of the image in pixels.
Definition: OgreAlignedAllocator.h:34
Definition: OgreScriptCompiler.h:80
virtual TexturePtr createManual(const String &name, const String &group, TextureType texType, uint width, uint height, uint depth, int numMipmaps, PixelFormat format, int usage=TU_DEFAULT, ManualResourceLoader *loader=0, bool hwGammaCorrection=false, uint fsaa=0, const String &fsaaHint=BLANKSTRING)
Create a manual texture with specified width, height and depth (not loaded from a file).
static String DEFAULT_SCHEME_NAME
Default material scheme of the shader generator.
Definition: OgreShaderGenerator.h:432
static ShaderGenerator * getSingletonPtr()
Get the singleton instance.
#define FFP_LIB_COMMON
Definition: OgreShaderFFPRenderState.h:81
Stencil shadow technique which renders each light as a separate additive pass to the scene.
Definition: OgreCommon.h:248
This class simplify initialization / finalization of the overlay system.
Definition: OgreOverlaySystem.h:56
Lighting sub render state implementation of the Fixed Function Pipeline.
Definition: OgreShaderFFPLighting.h:51
shared_ptr< UniformParameter > UniformParameterPtr
Definition: OgreShaderPrerequisites.h:76
SharedPtr< HardwarePixelBuffer > HardwarePixelBufferSharedPtr
Definition: OgrePrerequisites.h:290
SharedPtr< HardwareIndexBuffer > HardwareIndexBufferSharedPtr
Definition: OgrePrerequisites.h:289
PixelBox getPixelBox(size_t face=0, size_t mipmap=0) const
Get a PixelBox encapsulating the image data of a mipmap.
static CompositorManager & getSingleton(void)
Get the singleton instance.