Classes | Namespaces | Enumerations | Functions
Render_Device.h File Reference
#include "Kernel/OVR_Math.h"
#include "Kernel/OVR_Array.h"
#include "Kernel/OVR_RefCount.h"
#include "Kernel/OVR_String.h"
#include "Kernel/OVR_File.h"
#include "Util/Util_Render_Stereo.h"
Include dependency graph for Render_Device.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OVR::Render::Buffer
class  OVR::Render::CollisionModel
class  OVR::Render::Container
struct  OVR::Render::DisplayId
class  OVR::Render::Fill
struct  OVR::Render::LightingParams
class  OVR::Render::Model
class  OVR::Render::Node
class  OVR::Render::RenderDevice
struct  OVR::Render::RendererParams
class  OVR::Render::Scene
class  OVR::Render::SceneView
class  OVR::Render::Shader
class  OVR::Render::ShaderFill
class  OVR::Render::ShaderSet
class  OVR::Render::ShaderSetMatrixTranspose
class  OVR::Render::Texture
struct  OVR::Render::Vector4f
struct  OVR::Render::Vertex

Namespaces

namespace  OVR
namespace  OVR::Render

Enumerations

enum  OVR::Render::BufferUsage {
  OVR::Render::Buffer_Unknown = 0, OVR::Render::Buffer_Vertex = 1, OVR::Render::Buffer_Index = 2, OVR::Render::Buffer_Uniform = 4,
  OVR::Render::Buffer_Feedback = 8, OVR::Render::Buffer_TypeMask = 0xff, OVR::Render::Buffer_ReadOnly = 0x100
}
enum  OVR::Render::BuiltinShaders {
  OVR::Render::VShader_MV = 0, OVR::Render::VShader_MVP = 1, OVR::Render::VShader_PostProcess = 2, OVR::Render::VShader_Count = 3,
  OVR::Render::FShader_Solid = 0, OVR::Render::FShader_Gouraud = 1, OVR::Render::FShader_Texture = 2, OVR::Render::FShader_AlphaTexture = 3,
  OVR::Render::FShader_PostProcess = 4, OVR::Render::FShader_PostProcessWithChromAb = 5, OVR::Render::FShader_LitGouraud = 6, OVR::Render::FShader_LitTexture = 7,
  OVR::Render::FShader_MultiTexture = 8, OVR::Render::FShader_Count = 9
}
enum  OVR::Render::DisplayMode { OVR::Render::Display_Window = 0, OVR::Render::Display_Fullscreen = 1, OVR::Render::Display_FakeFullscreen }
enum  OVR::Render::MapFlags { OVR::Render::Map_Discard = 1, OVR::Render::Map_Read = 2, OVR::Render::Map_Unsynchronized = 4 }
enum  OVR::Render::PostProcessType { OVR::Render::PostProcess_None, OVR::Render::PostProcess_Distortion }
enum  OVR::Render::PrimitiveType {
  OVR::Render::Prim_Triangles, OVR::Render::Prim_Lines, OVR::Render::Prim_TriangleStrip, OVR::Render::Prim_Points,
  OVR::Render::Prim_Unknown, OVR::Render::Prim_Count
}
enum  OVR::Render::RenderCaps { OVR::Render::Cap_VertexBuffer = 1 }
enum  OVR::Render::SampleMode {
  OVR::Render::Sample_Linear = 0, OVR::Render::Sample_Nearest = 1, OVR::Render::Sample_Anisotropic = 2, OVR::Render::Sample_FilterMask = 3,
  OVR::Render::Sample_Repeat = 0, OVR::Render::Sample_Clamp = 4, OVR::Render::Sample_ClampBorder = 8, OVR::Render::Sample_AddressMask = 12,
  OVR::Render::Sample_Count = 13
}
enum  OVR::Render::ShaderStage {
  OVR::Render::Shader_Vertex = 0, OVR::Render::Shader_Geometry = 1, OVR::Render::Shader_Fragment = 2, OVR::Render::Shader_Pixel = 2,
  OVR::Render::Shader_Count = 3
}
enum  OVR::Render::TextureFormat {
  OVR::Render::Texture_RGBA = 0x100, OVR::Render::Texture_R = 0x200, OVR::Render::Texture_DXT1 = 0x1100, OVR::Render::Texture_DXT3 = 0x1200,
  OVR::Render::Texture_DXT5 = 0x1300, OVR::Render::Texture_Depth = 0x8000, OVR::Render::Texture_TypeMask = 0xff00, OVR::Render::Texture_Compressed = 0x1000,
  OVR::Render::Texture_SamplesMask = 0x00ff, OVR::Render::Texture_RenderTarget = 0x10000, OVR::Render::Texture_GenMipmaps = 0x20000
}

Functions

void OVR::Render::FilterRgba2x2 (const UByte *src, int w, int h, UByte *dest)
int OVR::Render::GetNumMipLevels (int w, int h)
int OVR::Render::GetTextureSize (int format, int w, int h)
Texture * OVR::Render::LoadTextureDDS (RenderDevice *ren, File *f)
Texture * OVR::Render::LoadTextureTga (RenderDevice *ren, File *f, unsigned char alpha=255)


oculus_sdk
Author(s):
autogenerated on Mon Oct 6 2014 03:01:19