OGRE  1.9.0
Ogre::GpuLogicalIndexUse Struct Reference

Structure recording the use of a physical buffer by a logical parameter index. More...

#include <OgreGpuProgramParams.h>

Public Member Functions

 GpuLogicalIndexUse ()
 
 GpuLogicalIndexUse (size_t bufIdx, size_t curSz, uint16 v)
 

Public Attributes

size_t currentSize
 Current physical size allocation.
 
size_t physicalIndex
 Physical buffer index.
 
uint16 variability
 How the contents of this slot vary.
 

Detailed Description

Structure recording the use of a physical buffer by a logical parameter index.

Only used for low-level programs.

Definition at line 431 of file OgreGpuProgramParams.h.

Constructor & Destructor Documentation

◆ GpuLogicalIndexUse() [1/2]

Ogre::GpuLogicalIndexUse::GpuLogicalIndexUse ( )

Definition at line 440 of file OgreGpuProgramParams.h.

References currentSize, Ogre::GPV_GLOBAL, physicalIndex, and variability.

◆ GpuLogicalIndexUse() [2/2]

Ogre::GpuLogicalIndexUse::GpuLogicalIndexUse ( size_t bufIdx,
size_t curSz,
uint16 v )

Definition at line 442 of file OgreGpuProgramParams.h.

References currentSize, physicalIndex, and variability.

Member Data Documentation

◆ currentSize

size_t Ogre::GpuLogicalIndexUse::currentSize

Current physical size allocation.

Definition at line 436 of file OgreGpuProgramParams.h.

Referenced by GpuLogicalIndexUse(), and GpuLogicalIndexUse().

◆ physicalIndex

size_t Ogre::GpuLogicalIndexUse::physicalIndex

Physical buffer index.

Definition at line 434 of file OgreGpuProgramParams.h.

Referenced by GpuLogicalIndexUse(), and GpuLogicalIndexUse().

◆ variability

uint16 Ogre::GpuLogicalIndexUse::variability
mutable

How the contents of this slot vary.

Definition at line 438 of file OgreGpuProgramParams.h.

Referenced by GpuLogicalIndexUse(), and GpuLogicalIndexUse().


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