Class muda::Buffer3DViewT
template <bool IsConst, typename T>
ClassList > muda > Buffer3DViewT
Inherits the following classes: muda::ViewBase
Public Types
Type | Name |
---|---|
typedef CDense3D< T > | CViewer |
typedef Buffer3DViewT< true, T > | ConstView |
typedef Buffer3DViewT< false, T > | NonConstView |
typedef Buffer3DViewT<!IsConst, T > | OtherView |
typedef Buffer3DViewT< IsConst, T > | ThisView |
typedef std::conditional_t< IsConst, CViewer, Viewer > | ThisViewer |
typedef Dense3D< T > | Viewer |
Public Types inherited from muda::ViewBase
See muda::ViewBase
Type | Name |
---|---|
typedef std::conditional_t< IsConst, const T, T > | auto_const_t |
typedef std::enable_if_t< IsNonConst, T > | non_const_enable_t |
Public Static Attributes inherited from muda::ViewBase
See muda::ViewBase
Type | Name |
---|---|
constexpr bool | IsConst = = IsConst_ |
constexpr bool | IsNonConst = = !IsConst_ |
Public Functions
Type | Name |
---|---|
MUDA_GENERIC | Buffer3DViewT () |
MUDA_GENERIC | Buffer3DViewT (const Buffer3DViewT &) |
MUDA_GENERIC | Buffer3DViewT (const Buffer3DViewT< OtherIsConst, T > & other) |
MUDA_GENERIC | Buffer3DViewT (auto_const_t< T > * data, size_t pitch_bytes, size_t pitch_bytes_area, size_t origin_width, size_t origin_height, const Offset3D & offset, const Extent3D & extent) |
MUDA_GENERIC | Buffer3DViewT (T * data, size_t pitch_bytes, size_t pitch_bytes_area, const Offset3D & offset, const Extent3D & extent) |
MUDA_GENERIC ConstView | as_const () const |
MUDA_HOST void | copy_from (const Buffer3DViewT< true, T > & other) const |
MUDA_HOST void | copy_from (const T * host) const |
MUDA_HOST void | copy_to (T * host) const |
MUDA_GENERIC CViewer | cviewer () const |
MUDA_GENERIC auto_const_t< T > * | data (size_t x, size_t y, size_t z) const |
MUDA_GENERIC auto_const_t< T > * | data (size_t flatten_i) const |
MUDA_GENERIC Extent3D | extent () const |
MUDA_HOST void | fill (const T & v) const |
MUDA_GENERIC Offset3D | offset () const |
MUDA_GENERIC auto_const_t< T > * | origin_data () const |
MUDA_GENERIC size_t | pitch_bytes () const |
MUDA_GENERIC size_t | pitch_bytes_area () const |
MUDA_GENERIC ThisView | subview (Offset3D offset, Extent3D extent={}) const |
MUDA_GENERIC size_t | total_size () const |
MUDA_GENERIC ThisViewer | viewer () const |
Protected Attributes
Type | Name |
---|---|
auto_const_t< T > * | m_data = = nullptr |
Extent3D | m_extent |
Offset3D | m_offset |
size_t | m_origin_height = = ~0 |
size_t | m_origin_width = = ~0 |
size_t | m_pitch_bytes = = ~0 |
size_t | m_pitch_bytes_area = = ~0 |
Public Types Documentation
typedef CViewer
typedef ConstView
typedef NonConstView
typedef OtherView
typedef ThisView
typedef ThisViewer
typedef Viewer
Public Functions Documentation
function Buffer3DViewT [2/6]
function Buffer3DViewT [3/6]
function Buffer3DViewT [4/6]
template<bool OtherIsConst>
MUDA_GENERIC muda::Buffer3DViewT::Buffer3DViewT (
const Buffer3DViewT < OtherIsConst, T > & other
)
function Buffer3DViewT [5/6]
MUDA_GENERIC muda::Buffer3DViewT::Buffer3DViewT (
auto_const_t< T > * data,
size_t pitch_bytes,
size_t pitch_bytes_area,
size_t origin_width,
size_t origin_height,
const Offset3D & offset,
const Extent3D & extent
)
function Buffer3DViewT [6/6]
MUDA_GENERIC muda::Buffer3DViewT::Buffer3DViewT (
T * data,
size_t pitch_bytes,
size_t pitch_bytes_area,
const Offset3D & offset,
const Extent3D & extent
)
function as_const
function copy_from [1/2]
function copy_from [2/2]
function copy_to
function cviewer
function data [1/2]
function data [2/2]
function extent
function fill
function offset
function origin_data
function pitch_bytes
function pitch_bytes_area
function subview
function total_size
function viewer
Protected Attributes Documentation
variable m_data
variable m_extent
variable m_offset
variable m_origin_height
variable m_origin_width
variable m_pitch_bytes
variable m_pitch_bytes_area
Friends Documentation
friend BufferInfoAccessor
The documentation for this class was generated from the following file src/muda/buffer/buffer_3d_view.h