Public Member Functions | Private Attributes
OVR::RenderTiny::GL::RenderDevice Class Reference

#include <RenderTiny_GL_Device.h>

Inheritance diagram for OVR::RenderTiny::GL::RenderDevice:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void BeginRendering ()
virtual void Clear (float r=0, float g=0, float b=0, float a=1, float depth=1)
virtual BufferCreateBuffer ()
virtual ShaderSetCreateShaderSet ()
virtual ShaderFillCreateSimpleFill ()
virtual TextureCreateTexture (int format, int width, int height, const void *data, int mipcount=1)
RBufferGetDepthBuffer (int w, int h, int ms)
virtual ShaderLoadBuiltinShader (ShaderStage stage, int shader)
virtual void Rect (float left, float top, float right, float bottom)
virtual void Render (const Matrix4f &matrix, Model *model)
virtual void Render (const ShaderFill *fill, RenderTiny::Buffer *vertices, RenderTiny::Buffer *indices, const Matrix4f &matrix, int offset, int count, PrimitiveType prim=Prim_Triangles)
 RenderDevice (const RendererParams &p)
virtual void SetDepthMode (bool enable, bool write, CompareFunc func=Compare_Less)
virtual void SetLighting (const LightingParams *lt)
virtual void SetRealViewport (const Viewport &vp)
virtual void SetRenderTarget (RenderTiny::Texture *color, RenderTiny::Texture *depth=NULL, RenderTiny::Texture *stencil=NULL)
void SetTexture (RenderTiny::ShaderStage, int slot, const Texture *t)
virtual void SetWorldUniforms (const Matrix4f &proj)

Private Attributes

Ptr< TextureCurRenderTarget
GLuint CurrentFbo
Ptr< ShaderFillDefaultFill
Array< Ptr< RBuffer > > DepthBuffers
Ptr< ShaderFragShaders [FShader_Count]
const LightingParamsLighting
Matrix4f Proj
Ptr< ShaderVertexShaders [VShader_Count]

Detailed Description

Definition at line 174 of file RenderTiny_GL_Device.h.


Constructor & Destructor Documentation

Definition at line 234 of file RenderTiny_GL_Device.cpp.


Member Function Documentation

Reimplemented from OVR::RenderTiny::RenderDevice.

Definition at line 1628 of file Render_D3D1X_Device.cpp.

void OVR::RenderTiny::GL::RenderDevice::Clear ( float  r = 0,
float  g = 0,
float  b = 0,
float  a = 1,
float  depth = 1 
) [virtual]

Implements OVR::RenderTiny::RenderDevice.

Definition at line 308 of file RenderTiny_GL_Device.cpp.

Reimplemented from OVR::RenderTiny::RenderDevice.

Definition at line 853 of file Render_D3D1X_Device.cpp.

Reimplemented from OVR::RenderTiny::RenderDevice.

Definition at line 217 of file RenderTiny_GL_Device.h.

Implements OVR::RenderTiny::RenderDevice.

Definition at line 219 of file RenderTiny_GL_Device.h.

Texture * OVR::RenderTiny::GL::RenderDevice::CreateTexture ( int  format,
int  width,
int  height,
const void *  data,
int  mipcount = 1 
) [virtual]

Reimplemented from OVR::RenderTiny::RenderDevice.

Definition at line 713 of file RenderTiny_GL_Device.cpp.

RBuffer * OVR::RenderTiny::GL::RenderDevice::GetDepthBuffer ( int  w,
int  h,
int  ms 
)

Definition at line 765 of file Render_D3D1X_Device.cpp.

Implements OVR::RenderTiny::RenderDevice.

Definition at line 1146 of file Render_D3D1X_Device.cpp.

virtual void OVR::RenderTiny::GL::RenderDevice::Rect ( float  left,
float  top,
float  right,
float  bottom 
) [inline, virtual]

Definition at line 198 of file RenderTiny_GL_Device.h.

void OVR::RenderTiny::GL::RenderDevice::Render ( const Matrix4f matrix,
Model model 
) [virtual]

Implements OVR::RenderTiny::RenderDevice.

Definition at line 1676 of file Render_D3D1X_Device.cpp.

void OVR::RenderTiny::GL::RenderDevice::Render ( const ShaderFill fill,
RenderTiny::Buffer vertices,
RenderTiny::Buffer indices,
const Matrix4f matrix,
int  offset,
int  count,
PrimitiveType  prim = Prim_Triangles 
) [virtual]

Implements OVR::RenderTiny::RenderDevice.

Definition at line 392 of file RenderTiny_GL_Device.cpp.

void OVR::RenderTiny::GL::RenderDevice::SetDepthMode ( bool  enable,
bool  write,
CompareFunc  func = Compare_Less 
) [virtual]

Implements OVR::RenderTiny::RenderDevice.

Definition at line 277 of file RenderTiny_GL_Device.cpp.

Reimplemented from OVR::RenderTiny::RenderDevice.

Definition at line 450 of file RenderTiny_GL_Device.cpp.

Implements OVR::RenderTiny::RenderDevice.

Definition at line 295 of file RenderTiny_GL_Device.cpp.

void OVR::RenderTiny::GL::RenderDevice::SetRenderTarget ( RenderTiny::Texture color,
RenderTiny::Texture depth = NULL,
RenderTiny::Texture stencil = NULL 
) [virtual]

Reimplemented from OVR::RenderTiny::RenderDevice.

Definition at line 327 of file RenderTiny_GL_Device.cpp.

Definition at line 359 of file RenderTiny_GL_Device.cpp.

Implements OVR::RenderTiny::RenderDevice.

Definition at line 1669 of file Render_D3D1X_Device.cpp.


Member Data Documentation

Definition at line 183 of file RenderTiny_GL_Device.h.

Definition at line 185 of file RenderTiny_GL_Device.h.

Definition at line 179 of file RenderTiny_GL_Device.h.

Definition at line 184 of file RenderTiny_GL_Device.h.

Definition at line 177 of file RenderTiny_GL_Device.h.

Definition at line 187 of file RenderTiny_GL_Device.h.

Reimplemented from OVR::RenderTiny::RenderDevice.

Definition at line 181 of file RenderTiny_GL_Device.h.

Definition at line 176 of file RenderTiny_GL_Device.h.


The documentation for this class was generated from the following files:


oculus_sdk
Author(s): Tully Foote
autogenerated on Thu Jun 6 2019 20:13:50