Saga3D API Documentation  1.0-RC4
saga::video::SShaderBuffer Struct Reference

#include <SShaderBuffer.h>

Inheritance diagram for saga::video::SShaderBuffer:
saga::video::SGPUResource

Public Attributes

std::size_t Size = 0
 Size of this buffer. More...
 
bool ReadBack = false
 CPU read from GPU. More...
 
bool VertexBufferBind = false
 Allow binding as vertex buffer. More...
 
bool IndexBufferBind = false
 Allow binding as index buffer. More...
 
- Public Attributes inherited from saga::video::SGPUResource
HandleType Handle
 

Additional Inherited Members

- Public Types inherited from saga::video::SGPUResource
using HandleType = std::uint32_t
 

Detailed Description

Definition at line 11 of file SShaderBuffer.h.

Member Data Documentation

◆ IndexBufferBind

bool saga::video::SShaderBuffer::IndexBufferBind = false

Allow binding as index buffer.

Definition at line 20 of file SShaderBuffer.h.

◆ ReadBack

bool saga::video::SShaderBuffer::ReadBack = false

CPU read from GPU.

Definition at line 16 of file SShaderBuffer.h.

◆ Size

std::size_t saga::video::SShaderBuffer::Size = 0

Size of this buffer.

Definition at line 14 of file SShaderBuffer.h.

◆ VertexBufferBind

bool saga::video::SShaderBuffer::VertexBufferBind = false

Allow binding as vertex buffer.

Definition at line 18 of file SShaderBuffer.h.


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