CathodeRetro::RenderTargetView

A binding between a render target and a target mipmap level, used as a parameter to IGraphicsDevice::RenderQuad.

Index

Members

(constructor)
                RenderTargetView(
                  IRenderTarget *tex, 
                  uint32_t mip = 0)
              
Description
Construct a new instance of a RenderTargetView struct.
Parameters
IRenderTarget

Type: IRenderTarget *

The render target for the view.

mip

Type: uint32_t

The mipmap level for the view. 0 is the largest mipmap level.

This value should not exceed the mipmap level of the render target.

texture
                IRenderTarget *texture
              
Type
IRenderTarget *
Description
The render target that should be rendered to.
mipLevel
                uint32_t mipLevel = 0
              
Type
uint32_t
Description

The mipmap level that should be rendered to. 0 is the largest mipmap level.

This value should not exceed the mipmap level of the render target.