ScummVM API documentation
OpenGL::LibRetroPipeline::Pass::TextureSampler Struct Reference

#include <libretro.h>

Public Types

enum  Type { kTypeTexture, kTypePass, kTypePrev }
 

Public Member Functions

 TextureSampler (uint u, Type t, uint i)
 

Public Attributes

uint unit
 
Type type
 
uint index
 

Detailed Description

Description of a texture sampler.

Member Enumeration Documentation

◆ Type

Enumerator
kTypeTexture 

'index' denotes the 'index'th shader texture.

kTypePass 

'index' denotes the input to pass 'index'.

kTypePrev 

'index' denotes the input of the 'index'th previous frame.

Member Data Documentation

◆ unit

uint OpenGL::LibRetroPipeline::Pass::TextureSampler::unit

Texture unit to use.

◆ type

Type OpenGL::LibRetroPipeline::Pass::TextureSampler::type

Source type of the texture to bind.

◆ index

uint OpenGL::LibRetroPipeline::Pass::TextureSampler::index

Index of the texture.


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