Blowbox 2017
A 3D Game Engine by Riko Ophorst using DirectX 12
Public Member Functions | Public Attributes | List of all members
blowbox::Param32Bit Struct Reference

#include <command_context.h>

Public Member Functions

 Param32Bit (FLOAT f_)
 
 Param32Bit (UINT u_)
 
 Param32Bit (INT i_)
 
void operator= (FLOAT f_)
 
void operator= (UINT u_)
 
void operator= (INT i_)
 

Public Attributes

union {
   FLOAT   f
 
   UINT   u
 
   INT   i
 
}; 
 

Detailed Description

Represents a 32 bit parameter, which can either be a float, uint or int.

Constructor & Destructor Documentation

blowbox::Param32Bit::Param32Bit ( FLOAT  f_)
inline

Constructs a float-based Param32Bit.

blowbox::Param32Bit::Param32Bit ( UINT  u_)
inline

Constructs a uint-based Param32Bit.

blowbox::Param32Bit::Param32Bit ( INT  i_)
inline

Constructs a int-based Param32Bit.

Member Function Documentation

void blowbox::Param32Bit::operator= ( FLOAT  f_)
inline

The assignment operator for floats.

Parameters
[in]f_The new float value.
void blowbox::Param32Bit::operator= ( UINT  u_)
inline

The assignment operator for uints.

Parameters
[in]u_The new uint value.
void blowbox::Param32Bit::operator= ( INT  i_)
inline

The assignment operator for ints.

Parameters
[in]i_The new int value.

Member Data Documentation

FLOAT blowbox::Param32Bit::f

The floating point value.

INT blowbox::Param32Bit::i

The int value.

UINT blowbox::Param32Bit::u

The uint value.


The documentation for this struct was generated from the following file: