NVIDIA OptiX 6.5 API nvidia_logo_transpbg.gif Up
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
optix::buffer< T, Dim > Struct Template Reference
Inheritance diagram for optix::buffer< T, Dim >:
optix::bufferId< T, Dim >

Classes

struct  type
 

Public Types

typedef VectorTypes< size_t, Dim > WrapperType
 
typedef VectorTypes< size_t,
Dim >::Type 
IndexType
 

Public Member Functions

__device__ __forceinline__
IndexType 
size () const
 
__device__ __forceinline__ T & operator[] (IndexType i)
 

Static Protected Member Functions

__inline__ static __device__
size_t4 
make_index (size_t v0)
 
__inline__ static __device__
size_t4 
make_index (size_t2 v0)
 
__inline__ static __device__
size_t4 
make_index (size_t3 v0)
 
__inline__ static __device__
size_t4 
make_index (size_t4 v0)
 
template<typename T2 >
__device__ static
__forceinline__ void * 
create (type< T2 >, void *v)
 
template<typename T2 , int Dim2>
__device__ static
__forceinline__ void * 
create (type< bufferId< T2, Dim2 > >, void *v)