Castor3D
..
|
Classes | |
class | Castor3D::BinaryChunk |
Binary data chunk base class. More... | |
Namespaces | |
Castor3D | |
Macros | |
#define | MAKE_CHUNK_ID(a, b, c, d) ((uint8_t( a ) << 24) | (uint8_t( b ) << 16) | (uint8_t( c ) << 8) | (uint8_t( d ) << 0)) |
A define to ease the declaration of a chunk id. More... | |
Typedefs | |
typedef enum Castor3D::eCHUNK_TYPE | Castor3D::eCHUNK_TYPE |
Binary data chunk types enumeration. More... | |
Enumerations | |
enum | Castor3D::eCHUNK_TYPE : uint32_t { Castor3D::eCHUNK_TYPE_UNKNOWN = MAKE_CHUNK_ID( ' ', ' ', ' ', ' ' ), Castor3D::eCHUNK_TYPE_CBSN_FILE = MAKE_CHUNK_ID( 'C', 'B', 'S', 'N' ), Castor3D::eCHUNK_TYPE_SAMPLER = MAKE_CHUNK_ID( 'S', 'A', 'M', 'P' ), Castor3D::eCHUNK_TYPE_SAMPLER_MINFILTER = MAKE_CHUNK_ID( 'S', 'A', 'M', 'N' ), Castor3D::eCHUNK_TYPE_SAMPLER_MAGFILTER = MAKE_CHUNK_ID( 'S', 'A', 'M', 'G' ), Castor3D::eCHUNK_TYPE_SAMPLER_MIPFILTER = MAKE_CHUNK_ID( 'S', 'A', 'M', 'P' ), Castor3D::eCHUNK_TYPE_SAMPLER_MINLOD = MAKE_CHUNK_ID( 'S', 'I', 'L', 'D' ), Castor3D::eCHUNK_TYPE_SAMPLER_MAXLOD = MAKE_CHUNK_ID( 'S', 'A', 'L', 'D' ), Castor3D::eCHUNK_TYPE_SAMPLER_LODBIAS = MAKE_CHUNK_ID( 'S', 'L', 'B', 'S' ), Castor3D::eCHUNK_TYPE_SAMPLER_UWRAP = MAKE_CHUNK_ID( 'S', 'U', 'W', 'P' ), Castor3D::eCHUNK_TYPE_SAMPLER_VWRAP = MAKE_CHUNK_ID( 'S', 'V', 'W', 'P' ), Castor3D::eCHUNK_TYPE_SAMPLER_WWRAP = MAKE_CHUNK_ID( 'S', 'W', 'W', 'P' ), Castor3D::eCHUNK_TYPE_SAMPLER_BORDER = MAKE_CHUNK_ID( 'S', 'B', 'D', 'R' ), Castor3D::eCHUNK_TYPE_SAMPLER_MAXANISOTROPY = MAKE_CHUNK_ID( 'S', 'A', 'A', 'N' ), Castor3D::eCHUNK_TYPE_SAMPLER_COLOUR = MAKE_CHUNK_ID( 'S', 'A', 'C', 'R' ), Castor3D::eCHUNK_TYPE_MATERIAL = MAKE_CHUNK_ID( 'M', 'A', 'T', 'L' ), Castor3D::eCHUNK_TYPE_MATERIAL_PASS = MAKE_CHUNK_ID( 'M', 'P', 'A', 'S' ), Castor3D::eCHUNK_TYPE_PASS_DIFFUSE = MAKE_CHUNK_ID( 'P', 'D', 'I', 'F' ), Castor3D::eCHUNK_TYPE_PASS_AMBIENT = MAKE_CHUNK_ID( 'P', 'A', 'M', 'B' ), Castor3D::eCHUNK_TYPE_PASS_SPECULAR = MAKE_CHUNK_ID( 'P', 'S', 'P', 'C' ), Castor3D::eCHUNK_TYPE_PASS_EMISSIVE = MAKE_CHUNK_ID( 'P', 'E', 'M', 'S' ), Castor3D::eCHUNK_TYPE_PASS_EXPONENT = MAKE_CHUNK_ID( 'P', 'X', 'P', 'N' ), Castor3D::eCHUNK_TYPE_PASS_ALPHA = MAKE_CHUNK_ID( 'P', 'A', 'L', 'P' ), Castor3D::eCHUNK_TYPE_PASS_TWOSIDED = MAKE_CHUNK_ID( 'P', 'B', 'S', 'D' ), Castor3D::eCHUNK_TYPE_PASS_GLSHADER = MAKE_CHUNK_ID( 'P', 'G', 'L', 'S' ), Castor3D::eCHUNK_TYPE_PASS_HLSHADER = MAKE_CHUNK_ID( 'P', 'H', 'L', 'S' ), Castor3D::eCHUNK_TYPE_SHADER_FILE = MAKE_CHUNK_ID( 'S', 'F', 'I', 'L' ), Castor3D::eCHUNK_TYPE_SHADER_SOURCE = MAKE_CHUNK_ID( 'S', 'S', 'R', 'C' ), Castor3D::eCHUNK_TYPE_SHADER_PROGRAM = MAKE_CHUNK_ID( 'S', 'P', 'G', 'M' ), Castor3D::eCHUNK_TYPE_SHADER_OBJECT = MAKE_CHUNK_ID( 'S', 'O', 'B', 'J' ), Castor3D::eCHUNK_TYPE_SHADER_OBJECT_TYPE = MAKE_CHUNK_ID( 'S', 'O', 'T', 'P' ), Castor3D::eCHUNK_TYPE_PROGRAM_VARIABLE = MAKE_CHUNK_ID( 'P', 'V', 'A', 'R' ), Castor3D::eCHUNK_TYPE_VARIABLE_TYPE = MAKE_CHUNK_ID( 'V', 'T', 'Y', 'P' ), Castor3D::eCHUNK_TYPE_VARIABLE_COUNT = MAKE_CHUNK_ID( 'V', 'C', 'N', 'T' ), Castor3D::eCHUNK_TYPE_VARIABLE_VALUE = MAKE_CHUNK_ID( 'V', 'V', 'A', 'L' ), Castor3D::eCHUNK_TYPE_SHADER_OBJECT_ENTRY = MAKE_CHUNK_ID( 'S', 'O', 'E', 'T' ), Castor3D::eCHUNK_TYPE_SHADER_OBJECT_FILE = MAKE_CHUNK_ID( 'S', 'O', 'F', 'L' ), Castor3D::eCHUNK_TYPE_SHADER_OBJECT_SOURCE = MAKE_CHUNK_ID( 'S', 'O', 'S', 'C' ), Castor3D::eCHUNK_TYPE_SHADER_OBJECT_INPUT = MAKE_CHUNK_ID( 'S', 'O', 'I', 'P' ), Castor3D::eCHUNK_TYPE_SHADER_OBJECT_OUTPUT = MAKE_CHUNK_ID( 'S', 'O', 'O', 'P' ), Castor3D::eCHUNK_TYPE_SHADER_OBJECT_OUTCOUNT = MAKE_CHUNK_ID( 'S', 'O', 'O', 'C' ), Castor3D::eCHUNK_TYPE_PASS_TEXTURE = MAKE_CHUNK_ID( 'T', 'X', 'U', 'N' ), Castor3D::eCHUNK_TYPE_TEXTURE_FILE = MAKE_CHUNK_ID( 'T', 'F', 'I', 'L' ), Castor3D::eCHUNK_TYPE_TEXTURE_FORMAT = MAKE_CHUNK_ID( 'T', 'F', 'M', 'T' ), Castor3D::eCHUNK_TYPE_TEXTURE_DIMENSIONS = MAKE_CHUNK_ID( 'T', 'D', 'I', 'M' ), Castor3D::eCHUNK_TYPE_TEXTURE_DATA = MAKE_CHUNK_ID( 'T', 'D', 'A', 'T' ), Castor3D::eCHUNK_TYPE_TEXTURE_MAP = MAKE_CHUNK_ID( 'T', 'M', 'A', 'P' ), Castor3D::eCHUNK_TYPE_TEXTURE_ALPHA_FUNC = MAKE_CHUNK_ID( 'T', 'A', 'F', 'N' ), Castor3D::eCHUNK_TYPE_TEXTURE_ALPHA_BLEND = MAKE_CHUNK_ID( 'T', 'A', 'B', 'N' ), Castor3D::eCHUNK_TYPE_TEXTURE_ALPHA_BLEND0 = MAKE_CHUNK_ID( 'T', 'A', 'B', '0' ), Castor3D::eCHUNK_TYPE_TEXTURE_ALPHA_BLEND1 = MAKE_CHUNK_ID( 'T', 'A', 'B', '1' ), Castor3D::eCHUNK_TYPE_TEXTURE_ALPHA_BLEND2 = MAKE_CHUNK_ID( 'T', 'A', 'B', '2' ), Castor3D::eCHUNK_TYPE_TEXTURE_RGB_BLEND = MAKE_CHUNK_ID( 'T', 'C', 'B', 'N' ), Castor3D::eCHUNK_TYPE_TEXTURE_RGB_BLEND0 = MAKE_CHUNK_ID( 'T', 'C', 'B', '0' ), Castor3D::eCHUNK_TYPE_TEXTURE_RGB_BLEND1 = MAKE_CHUNK_ID( 'T', 'C', 'B', '1' ), Castor3D::eCHUNK_TYPE_TEXTURE_RGB_BLEND2 = MAKE_CHUNK_ID( 'T', 'C', 'B', '2' ), Castor3D::eCHUNK_TYPE_TEXTURE_COLOUR = MAKE_CHUNK_ID( 'T', 'C', 'O', 'L' ), Castor3D::eCHUNK_TYPE_TEXTURE_CHANNEL = MAKE_CHUNK_ID( 'T', 'C', 'H', 'N' ), Castor3D::eCHUNK_TYPE_TEXTURE_SAMPLER = MAKE_CHUNK_ID( 'T', 'S', 'P', 'R' ), Castor3D::eCHUNK_TYPE_PASS_BLEND_FUNC = MAKE_CHUNK_ID( 'P', 'B', 'F', 'N' ), Castor3D::eCHUNK_TYPE_SCENE = MAKE_CHUNK_ID( 'S', 'C', 'E', 'N' ), Castor3D::eCHUNK_TYPE_SCENE_BACKGROUND = MAKE_CHUNK_ID( 'S', 'B', 'K', 'C' ), Castor3D::eCHUNK_TYPE_SCENE_AMBIENT = MAKE_CHUNK_ID( 'S', 'A', 'M', 'B' ), Castor3D::eCHUNK_TYPE_SCENE_NODE = MAKE_CHUNK_ID( 'S', 'N', 'O', 'D' ), Castor3D::eCHUNK_TYPE_NODE_PARENT = MAKE_CHUNK_ID( 'N', 'P', 'A', 'R' ), Castor3D::eCHUNK_TYPE_NODE_POSITION = MAKE_CHUNK_ID( 'N', 'P', 'O', 'S' ), Castor3D::eCHUNK_TYPE_NODE_ORIENTATION = MAKE_CHUNK_ID( 'N', 'R', 'O', 'T' ), Castor3D::eCHUNK_TYPE_NODE_SCALE = MAKE_CHUNK_ID( 'N', 'S', 'C', 'L' ), Castor3D::eCHUNK_TYPE_MOVABLE_NODE = MAKE_CHUNK_ID( 'M', 'N', 'O', 'D' ), Castor3D::eCHUNK_TYPE_LIGHT = MAKE_CHUNK_ID( 'L', 'G', 'H', 'T' ), Castor3D::eCHUNK_TYPE_LIGHT_TYPE = MAKE_CHUNK_ID( 'L', 'T', 'Y', 'P' ), Castor3D::eCHUNK_TYPE_LIGHT_COLOUR = MAKE_CHUNK_ID( 'L', 'D', 'I', 'F' ), Castor3D::eCHUNK_TYPE_LIGHT_INTENSITY = MAKE_CHUNK_ID( 'L', 'A', 'M', 'B' ), Castor3D::eCHUNK_TYPE_LIGHT_ATTENUATION = MAKE_CHUNK_ID( 'L', 'A', 'T', 'T' ), Castor3D::eCHUNK_TYPE_LIGHT_CUTOFF = MAKE_CHUNK_ID( 'L', 'C', 'U', 'T' ), Castor3D::eCHUNK_TYPE_LIGHT_EXPONENT = MAKE_CHUNK_ID( 'L', 'X', 'P', 'N' ), Castor3D::eCHUNK_TYPE_CAMERA = MAKE_CHUNK_ID( 'C', 'A', 'M', 'R' ), Castor3D::eCHUNK_TYPE_VIEWPORT = MAKE_CHUNK_ID( 'V', 'P', 'R', 'T' ), Castor3D::eCHUNK_TYPE_VIEWPORT_TYPE = MAKE_CHUNK_ID( 'V', 'T', 'Y', 'P' ), Castor3D::eCHUNK_TYPE_VIEWPORT_LEFT = MAKE_CHUNK_ID( 'V', 'L', 'F', 'T' ), Castor3D::eCHUNK_TYPE_VIEWPORT_RIGHT = MAKE_CHUNK_ID( 'V', 'R', 'G', 'T' ), Castor3D::eCHUNK_TYPE_VIEWPORT_TOP = MAKE_CHUNK_ID( 'V', 'T', 'O', 'P' ), Castor3D::eCHUNK_TYPE_VIEWPORT_BOTTOM = MAKE_CHUNK_ID( 'V', 'B', 'T', 'M' ), Castor3D::eCHUNK_TYPE_VIEWPORT_NEAR = MAKE_CHUNK_ID( 'V', 'N', 'E', 'A' ), Castor3D::eCHUNK_TYPE_VIEWPORT_FAR = MAKE_CHUNK_ID( 'V', 'F', 'A', 'R' ), Castor3D::eCHUNK_TYPE_VIEWPORT_SIZE = MAKE_CHUNK_ID( 'V', 'S', 'I', 'Z' ), Castor3D::eCHUNK_TYPE_VIEWPORT_RATIO = MAKE_CHUNK_ID( 'V', 'R', 'T', 'O' ), Castor3D::eCHUNK_TYPE_VIEWPORT_FOVY = MAKE_CHUNK_ID( 'V', 'F', 'V', 'Y' ), Castor3D::eCHUNK_TYPE_GEOMETRY = MAKE_CHUNK_ID( 'G', 'E', 'O', 'M' ), Castor3D::eCHUNK_TYPE_GEOMETRY_MESH = MAKE_CHUNK_ID( 'G', 'M', 'S', 'H' ), Castor3D::eCHUNK_TYPE_GEOMETRY_MATERIAL_ID = MAKE_CHUNK_ID( 'G', 'M', 'T', 'I' ), Castor3D::eCHUNK_TYPE_GEOMETRY_MATERIAL_NAME = MAKE_CHUNK_ID( 'G', 'M', 'T', 'N' ), Castor3D::eCHUNK_TYPE_BILLBOARD = MAKE_CHUNK_ID( 'B', 'L', 'B', 'D' ), Castor3D::eCHUNK_TYPE_BILLBOARD_MATERIAL = MAKE_CHUNK_ID( 'B', 'L', 'M', 'T' ), Castor3D::eCHUNK_TYPE_BILLBOARD_DIMENSIONS = MAKE_CHUNK_ID( 'B', 'L', 'S', 'Z' ), Castor3D::eCHUNK_TYPE_BILLBOARD_POSITION = MAKE_CHUNK_ID( 'B', 'L', 'P', 'T' ), Castor3D::eCHUNK_TYPE_MESH = MAKE_CHUNK_ID( 'M', 'E', 'S', 'H' ), Castor3D::eCHUNK_TYPE_SUBMESH = MAKE_CHUNK_ID( 'S', 'M', 'S', 'H' ), Castor3D::eCHUNK_TYPE_SUBMESH_TOPOLOGY = MAKE_CHUNK_ID( 'T', 'O', 'P', 'O' ), Castor3D::eCHUNK_TYPE_SUBMESH_VERTEX = MAKE_CHUNK_ID( 'V', 'R', 'T', 'X' ), Castor3D::eCHUNK_TYPE_SUBMESH_FACE = MAKE_CHUNK_ID( 'F', 'A', 'C', 'E' ), Castor3D::eCHUNK_TYPE_WINDOW = MAKE_CHUNK_ID( 'W', 'I', 'N', 'D' ), Castor3D::eCHUNK_TYPE_WINDOW_VSYNC = MAKE_CHUNK_ID( 'W', 'V', 'S', 'Y' ), Castor3D::eCHUNK_TYPE_WINDOW_FULLSCREEN = MAKE_CHUNK_ID( 'W', 'F', 'S', 'N' ), Castor3D::eCHUNK_TYPE_TARGET = MAKE_CHUNK_ID( 'R', 'T', 'G', 'T' ), Castor3D::eCHUNK_TYPE_TARGET_FORMAT = MAKE_CHUNK_ID( 'R', 'F', 'M', 'T' ), Castor3D::eCHUNK_TYPE_TARGET_SAMPLES = MAKE_CHUNK_ID( 'R', 'M', 'S', 'A' ), Castor3D::eCHUNK_TYPE_TARGET_TECHNIQUE = MAKE_CHUNK_ID( 'R', 'T', 'E', 'C' ), Castor3D::eCHUNK_TYPE_TARGET_SIZE = MAKE_CHUNK_ID( 'R', 'S', 'I', 'Z' ), Castor3D::eCHUNK_TYPE_TARGET_SCENE = MAKE_CHUNK_ID( 'R', 'S', 'C', 'N' ), Castor3D::eCHUNK_TYPE_TARGET_CAMERA = MAKE_CHUNK_ID( 'R', 'C', 'A', 'M' ), Castor3D::eCHUNK_TYPE_TARGET_STEREO = MAKE_CHUNK_ID( 'R', 'S', 'T', 'R' ), Castor3D::eCHUNK_TYPE_OVERLAY = MAKE_CHUNK_ID( 'O', 'V', 'L', 'Y' ), Castor3D::eCHUNK_TYPE_OVERLAY_TYPE = MAKE_CHUNK_ID( 'O', 'V', 'T', 'Y' ), Castor3D::eCHUNK_TYPE_OVERLAY_POSITION = MAKE_CHUNK_ID( 'O', 'V', 'P', 'S' ), Castor3D::eCHUNK_TYPE_OVERLAY_SIZE = MAKE_CHUNK_ID( 'O', 'V', 'S', 'Z' ), Castor3D::eCHUNK_TYPE_OVERLAY_MATERIAL = MAKE_CHUNK_ID( 'O', 'V', 'M', 'T' ), Castor3D::eCHUNK_TYPE_OVERLAY_VISIBLE = MAKE_CHUNK_ID( 'O', 'V', 'V', 'S' ), Castor3D::eCHUNK_TYPE_OVERLAY_ZINDEX = MAKE_CHUNK_ID( 'O', 'V', 'Z', 'X' ), Castor3D::eCHUNK_TYPE_OVERLAY_BORDER_SIZE = MAKE_CHUNK_ID( 'O', 'B', 'S', 'Z' ), Castor3D::eCHUNK_TYPE_OVERLAY_BORDER_MATERIAL = MAKE_CHUNK_ID( 'O', 'B', 'M', 'T' ), Castor3D::eCHUNK_TYPE_OVERLAY_FONT = MAKE_CHUNK_ID( 'O', 'T', 'F', 'T' ), Castor3D::eCHUNK_TYPE_OVERLAY_CAPTION = MAKE_CHUNK_ID( 'O', 'T', 'C', 'N' ), Castor3D::eCHUNK_TYPE_DEPTHSTENCIL_STATE = MAKE_CHUNK_ID( 'D', 'S', 'S', 'T' ), Castor3D::eCHUNK_TYPE_RASTERISER_STATE = MAKE_CHUNK_ID( 'R', 'T', 'S', 'T' ), Castor3D::eCHUNK_TYPE_BLEND_STATE = MAKE_CHUNK_ID( 'B', 'D', 'S', 'T' ), Castor3D::eCHUNK_TYPE_NAME = MAKE_CHUNK_ID( 'N', 'A', 'M', 'E' ), Castor3D::eCHUNK_TYPE_ANIMABLE = MAKE_CHUNK_ID( 'A', 'N', 'B', 'L' ), Castor3D::eCHUNK_TYPE_ANIMATION = MAKE_CHUNK_ID( 'A', 'N', 'M', 'N' ), Castor3D::eCHUNK_TYPE_ANIM_SCALE = MAKE_CHUNK_ID( 'A', 'S', 'C', 'L' ), Castor3D::eCHUNK_TYPE_MOVING_BASE = MAKE_CHUNK_ID( 'M', 'V', 'G', 'S' ), Castor3D::eCHUNK_TYPE_MOVING_NODE = MAKE_CHUNK_ID( 'M', 'V', 'N', 'D' ), Castor3D::eCHUNK_TYPE_MOVING_OBJECT = MAKE_CHUNK_ID( 'M', 'V', 'O', 'J' ), Castor3D::eCHUNK_TYPE_MOVING_BONE = MAKE_CHUNK_ID( 'M', 'V', 'B', 'N' ), Castor3D::eCHUNK_TYPE_MOVING_TRANSFORM = MAKE_CHUNK_ID( 'M', 'V', 'T', 'F' ), Castor3D::eCHUNK_TYPE_KEYFRAME = MAKE_CHUNK_ID( 'K', 'F', 'R', 'M' ), Castor3D::eCHUNK_TYPE_KEYFRAME_TIME = MAKE_CHUNK_ID( 'K', 'F', 'T', 'M' ), Castor3D::eCHUNK_TYPE_KEYFRAME_SCALE = MAKE_CHUNK_ID( 'K', 'F', 'S', 'C' ), Castor3D::eCHUNK_TYPE_KEYFRAME_TRANSLATE = MAKE_CHUNK_ID( 'K', 'F', 'T', 'R' ), Castor3D::eCHUNK_TYPE_KEYFRAME_ROTATE = MAKE_CHUNK_ID( 'K', 'F', 'R', 'T' ) } |
Binary data chunk types enumeration. More... | |
#define MAKE_CHUNK_ID | ( | a, | |
b, | |||
c, | |||
d | |||
) | ((uint8_t( a ) << 24) | (uint8_t( b ) << 16) | (uint8_t( c ) << 8) | (uint8_t( d ) << 0)) |
A define to ease the declaration of a chunk id.