CrystalSpace

Public API Reference

ivideo/rndbuf.h File Reference

Render buffer interface. More...

#include "csutil/scf.h"
#include "csutil/strset.h"
#include "csutil/refcount.h"
#include "csutil/win32/msvc_deprecated_warn_off.h"
#include "csutil/win32/msvc_deprecated_warn_on.h"

Go to the source code of this file.

Namespaces

namespace  CS
namespace  CS::Deprecated

Classes

struct  CS::Deprecated::CS_BUF_LOCK_NOLOCK
class  csRenderBufferHolder
 Holder of standard renderbuffers. More...
struct  iRenderBuffer
 This is a general buffer. More...
struct  iRenderBufferAccessor
 Interface for renderbuffer accessor. More...
struct  iRenderBufferCallback
 Callback function used upon destruction of render buffer. More...

Defines

#define CS_BUF_LOCK_NOLOCK   CS::Deprecated::CS_BUF_LOCK_NOLOCK::value
#define CS_BUFFER_MAKE_MASKABLE(x)   (1<<(x))

Enumerations

enum  csRenderBufferComponentType {
  CS_BUFCOMP_BYTE = 0, CS_BUFCOMP_UNSIGNED_BYTE, CS_BUFCOMP_SHORT, CS_BUFCOMP_UNSIGNED_SHORT,
  CS_BUFCOMP_INT, CS_BUFCOMP_UNSIGNED_INT, CS_BUFCOMP_FLOAT, CS_BUFCOMP_DOUBLE,
  CS_BUFCOMP_TYPECOUNT
}
 Type of components. More...
enum  csRenderBufferLockType { CS_BUF_LOCK_READ = 1, CS_BUF_LOCK_NORMAL }
 Type of lock of a render buffer. More...
enum  csRenderBufferName {
  CS_BUFFER_NONE = -1, CS_BUFFER_INDEX, CS_BUFFER_POSITION, CS_BUFFER_NORMAL,
  CS_BUFFER_COLOR, CS_BUFFER_COLOR_UNLIT, CS_BUFFER_TEXCOORD0, CS_BUFFER_TEXCOORD1,
  CS_BUFFER_TEXCOORD2, CS_BUFFER_TEXCOORD3, CS_BUFFER_TEXCOORD_LIGHTMAP, CS_BUFFER_GENERIC0,
  CS_BUFFER_GENERIC1, CS_BUFFER_GENERIC2, CS_BUFFER_GENERIC3, CS_BUFFER_TANGENT,
  CS_BUFFER_BINORMAL, CS_BUFFER_COUNT
}
 Defines the names of the renderbuffers as provided by the meshes. More...
enum  csRenderBufferNameMask {
  CS_BUFFER_INDEX_MASK = 1 << CS_BUFFER_INDEX, CS_BUFFER_POSITION_MASK = 1 << CS_BUFFER_POSITION, CS_BUFFER_NORMAL_MASK = 1 << CS_BUFFER_NORMAL, CS_BUFFER_COLOR_MASK = 1 << CS_BUFFER_COLOR,
  CS_BUFFER_COLOR_LIGHTING_MASK = 1 << CS_BUFFER_COLOR_UNLIT, CS_BUFFER_TEXCOORD0_MASK = 1 << CS_BUFFER_TEXCOORD0, CS_BUFFER_TEXCOORD1_MASK = 1 << CS_BUFFER_TEXCOORD1, CS_BUFFER_TEXCOORD2_MASK = 1 << CS_BUFFER_TEXCOORD2,
  CS_BUFFER_TEXCOORD3_MASK = 1 << CS_BUFFER_TEXCOORD3, CS_BUFFER_TEXCOORD_LIGHTMAP_MASK = 1 << CS_BUFFER_TEXCOORD_LIGHTMAP, CS_BUFFER_GENERIC0_MASK = 1 << CS_BUFFER_GENERIC0, CS_BUFFER_GENERIC1_MASK = 1 << CS_BUFFER_GENERIC1,
  CS_BUFFER_GENERIC2_MASK = 1 << CS_BUFFER_GENERIC2, CS_BUFFER_GENERIC3_MASK = 1 << CS_BUFFER_GENERIC3, CS_BUFFER_TANGENT_MASK = 1 << CS_BUFFER_TANGENT, CS_BUFFER_BINORMAL_MASK = 1 << CS_BUFFER_BINORMAL,
  CS_BUFFER_ALL_MASK = ~0
}
 Masks for renderbuffer accessors. More...
enum  csRenderBufferType { CS_BUF_DYNAMIC, CS_BUF_STATIC, CS_BUF_STREAM }
 Buffer usage type. More...

Variables

static const size_t csRenderBufferComponentSizes [CS_BUFCOMP_TYPECOUNT]
 Sizes of individual buffer components in bytes.


Detailed Description

Render buffer interface.

Definition in file rndbuf.h.


Generated for Crystal Space 1.2.1 by doxygen 1.5.3