Fermat
Public Methods | Public Members | List of all members
TextureStorage< TYPE > Struct Template Reference

Detailed description

template<BufferType TYPE>
struct TextureStorage< TYPE >

Texture storage

#include <texture.h>

Public Methods

template<BufferType UTYPE>
 TextureStorage (const TextureStorage< UTYPE > &other)
 
template<BufferType UTYPE>
TextureStorageoperator= (const TextureStorage< UTYPE > &other)
 
const float4 * ptr () const
 
float4 * ptr ()
 
void resize (const uint32 _res_x, const uint32 _res_y)
 
size_t size () const
 
uint2 res () const
 
void clear ()
 
TextureView view ()
 

Public Members

uint32 res_x
 
uint32 res_y
 
DomainBuffer< TYPE, float4 > c
 

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