Classes | Public Member Functions | Static Public Member Functions | Public Attributes
OVR::RenderTiny::D3D10::RenderDevice Class Reference

#include <RenderTiny_D3D1X_Device.h>

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

List of all members.

Classes

struct  StandardUniformData

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 ID3D10Blob * CompileShader (const char *profile, const char *src, const char *mainName="main")
virtual BufferCreateBuffer ()
virtual ShaderFillCreateSimpleFill ()
virtual TextureCreateTexture (int format, int width, int height, const void *data, int mipcount=1)
virtual void ForceFlushGPU ()
TextureGetDepthBuffer (int w, int h, int ms)
ID3D1xSamplerStateGetSamplerState (int sm)
virtual RenderTiny::ShaderLoadBuiltinShader (ShaderStage stage, int shader)
virtual void Present ()
bool RecreateSwapChain ()
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, HWND window)
virtual void SetCommonUniformBuffer (int i, RenderTiny::Buffer *buffer)
virtual void SetDepthMode (bool enable, bool write, CompareFunc func=Compare_Less)
virtual bool SetFullscreen (DisplayMode fullscreen)
virtual bool SetParams (const RendererParams &newParams)
virtual void SetRealViewport (const Viewport &vp)
virtual void SetRenderTarget (RenderTiny::Texture *color, RenderTiny::Texture *depth=NULL, RenderTiny::Texture *stencil=NULL)
void SetTexture (RenderTiny::ShaderStage stage, int slot, const Texture *t)
virtual void SetWorldUniforms (const Matrix4f &proj)
void UpdateMonitorOutputs ()
 ~RenderDevice ()

Static Public Member Functions

static RenderTiny::RenderDeviceCreateDevice (const RendererParams &rp, void *oswnd)

Public Attributes

Ptr< IDXGIAdapter > Adapter
Ptr< ID3D1xTexture2DBackBuffer
Ptr< ID3D1xRenderTargetViewBackBufferRT
Ptr< ID3D1xBlendStateBlendState
Ptr< BufferCommonUniforms [8]
Ptr< ID3D1xDeviceContextContext
Ptr< TextureCurDepthBuffer
Ptr< ID3D1xDepthStencilStateCurDepthState
Ptr< TextureCurRenderTarget
D3D1x_VIEWPORT D3DViewport
Ptr< ShaderFillDefaultFill
Array< Ptr< Texture > > DepthBuffers
Ptr< ID3D1xDepthStencilStateDepthStates [1+2 *Compare_Count]
Ptr< ID3D1xDeviceDevice
Ptr< IDXGIFactory > DXGIFactory
int FSDesktopX
int FSDesktopY
Ptr< IDXGIOutput > FullscreenOutput
int MaxTextureSet [Shader_Count]
Ptr< ID3D1xInputLayoutModelVertexIL
Ptr< PixelShaderPixelShaders [FShader_Count]
Ptr< BufferQuadVertexBuffer
Ptr< ID3D1xRasterizerStateRasterizer
Ptr< ID3D1xSamplerStateSamplerStates [Sample_Count]
struct
OVR::RenderTiny::D3D10::RenderDevice::StandardUniformData 
StdUniforms
Ptr< IDXGISwapChain > SwapChain
Ptr< BufferUniformBuffers [Shader_Count]
Ptr< VertexShaderVertexShaders [VShader_Count]
HWND Window

Detailed Description

Definition at line 180 of file RenderTiny_D3D1X_Device.h.


Constructor & Destructor Documentation

Definition at line 319 of file Render_D3D1X_Device.cpp.

Reimplemented from OVR::RenderTiny::RenderDevice.

Definition at line 636 of file RenderTiny_D3D1X_Device.cpp.


Member Function Documentation

Reimplemented from OVR::RenderTiny::RenderDevice.

Definition at line 1153 of file RenderTiny_D3D1X_Device.cpp.

void OVR::RenderTiny::D3D10::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 875 of file RenderTiny_D3D1X_Device.cpp.

ID3D10Blob * OVR::RenderTiny::D3D10::RenderDevice::CompileShader ( const char *  profile,
const char *  src,
const char *  mainName = "main" 
) [virtual]

Definition at line 1048 of file Render_D3D1X_Device.cpp.

Reimplemented from OVR::RenderTiny::RenderDevice.

Definition at line 927 of file RenderTiny_D3D1X_Device.cpp.

Definition at line 462 of file Render_D3D1X_Device.cpp.

Implements OVR::RenderTiny::RenderDevice.

Definition at line 259 of file RenderTiny_D3D1X_Device.h.

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

Reimplemented from OVR::RenderTiny::RenderDevice.

Definition at line 1030 of file RenderTiny_D3D1X_Device.cpp.

Reimplemented from OVR::RenderTiny::RenderDevice.

Definition at line 1293 of file RenderTiny_D3D1X_Device.cpp.

Definition at line 855 of file RenderTiny_D3D1X_Device.cpp.

Definition at line 1245 of file Render_D3D1X_Device.cpp.

Implements OVR::RenderTiny::RenderDevice.

Definition at line 961 of file RenderTiny_D3D1X_Device.cpp.

Implements OVR::RenderTiny::RenderDevice.

Definition at line 1785 of file Render_D3D1X_Device.cpp.

Definition at line 566 of file Render_D3D1X_Device.cpp.

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

Implements OVR::RenderTiny::RenderDevice.

Definition at line 1202 of file RenderTiny_D3D1X_Device.cpp.

void OVR::RenderTiny::D3D10::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 1223 of file RenderTiny_D3D1X_Device.cpp.

Reimplemented from OVR::RenderTiny::RenderDevice.

Definition at line 953 of file RenderTiny_D3D1X_Device.cpp.

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

Implements OVR::RenderTiny::RenderDevice.

Definition at line 828 of file RenderTiny_D3D1X_Device.cpp.

Reimplemented from OVR::RenderTiny::RenderDevice.

Definition at line 795 of file RenderTiny_D3D1X_Device.cpp.

bool OVR::RenderTiny::D3D10::RenderDevice::SetParams ( const RendererParams newParams) [virtual]

Reimplemented from OVR::RenderTiny::RenderDevice.

Definition at line 614 of file Render_D3D1X_Device.cpp.

Implements OVR::RenderTiny::RenderDevice.

Definition at line 810 of file RenderTiny_D3D1X_Device.cpp.

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

Reimplemented from OVR::RenderTiny::RenderDevice.

Definition at line 1158 of file RenderTiny_D3D1X_Device.cpp.

Definition at line 1008 of file RenderTiny_D3D1X_Device.cpp.

Implements OVR::RenderTiny::RenderDevice.

Definition at line 1195 of file RenderTiny_D3D1X_Device.cpp.

Definition at line 501 of file Render_D3D1X_Device.cpp.


Member Data Documentation

Definition at line 189 of file RenderTiny_D3D1X_Device.h.

Definition at line 193 of file RenderTiny_D3D1X_Device.h.

Definition at line 194 of file RenderTiny_D3D1X_Device.h.

Definition at line 198 of file RenderTiny_D3D1X_Device.h.

Definition at line 217 of file RenderTiny_D3D1X_Device.h.

Definition at line 187 of file RenderTiny_D3D1X_Device.h.

Definition at line 196 of file RenderTiny_D3D1X_Device.h.

Definition at line 202 of file RenderTiny_D3D1X_Device.h.

Definition at line 195 of file RenderTiny_D3D1X_Device.h.

Definition at line 199 of file RenderTiny_D3D1X_Device.h.

Definition at line 218 of file RenderTiny_D3D1X_Device.h.

Definition at line 222 of file RenderTiny_D3D1X_Device.h.

Definition at line 201 of file RenderTiny_D3D1X_Device.h.

Definition at line 186 of file RenderTiny_D3D1X_Device.h.

Definition at line 183 of file RenderTiny_D3D1X_Device.h.

Definition at line 191 of file RenderTiny_D3D1X_Device.h.

Definition at line 191 of file RenderTiny_D3D1X_Device.h.

Definition at line 190 of file RenderTiny_D3D1X_Device.h.

Definition at line 213 of file RenderTiny_D3D1X_Device.h.

Definition at line 203 of file RenderTiny_D3D1X_Device.h.

Definition at line 216 of file RenderTiny_D3D1X_Device.h.

Definition at line 220 of file RenderTiny_D3D1X_Device.h.

Definition at line 197 of file RenderTiny_D3D1X_Device.h.

Definition at line 205 of file RenderTiny_D3D1X_Device.h.

Definition at line 188 of file RenderTiny_D3D1X_Device.h.

Definition at line 212 of file RenderTiny_D3D1X_Device.h.

Definition at line 215 of file RenderTiny_D3D1X_Device.h.

Definition at line 184 of file RenderTiny_D3D1X_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