XLE  v0.02.0
Public Member Functions | Protected Attributes | List of all members
PlatformRig::ResizePresentationChain Class Reference

Resizes a presentation chain to match a window More...

#include <PlatformRigUtil.h>

Inheritance diagram for PlatformRig::ResizePresentationChain:
Inheritance graph
[legend]

Public Member Functions

void OnResize (unsigned newWidth, unsigned newHeight)
 
 ResizePresentationChain (std::shared_ptr< RenderCore::IPresentationChain > presentationChain)
 

Protected Attributes

std::shared_ptr< RenderCore::IPresentationChain_presentationChain
 

Detailed Description

Resizes a presentation chain to match a window

A handler to resize the presentation chain whenever the window changes size (keeping 1:1 ratio)


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