HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RE_Types.h File Reference
#include "RE_API.h"
#include <UT/UT_Assert.h>
#include <UT/UT_ComputeGPU.h>
#include <PXL/PXL_Common.h>
#include <IMG/IMG_FileTypes.h>
#include <UT/UT_StringHolder.h>
#include <UT/UT_IntrusivePtr.h>
#include <UT/UT_StringArray.h>
+ Include dependency graph for RE_Types.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RE_RasterOpts
 
class  re_BlendSmoothState
 
class  re_StencilState
 
class  re_DepthState
 

Macros

#define RE_MAX_PICK_DIST   100
 
#define RE_NUM_WINDOW_TYPES   RE_WINDOW_INVALID_TYPE
 
#define RE_TEXCACHE_DEFAULT_MAX_SIZE   96 * 1024 * 1024
 
#define RE_BUFCACHE_DEFAULT_MAX_SIZE   384 * 1024 * 1024
 
#define RE_DEFAULT_DPI   85.0
 
#define RE_SCALE_BELOW_RESOLUTION   1000
 
#define RE_MIN_RESOLUTION_SCALE_FACTOR   0.85f
 
#define MM_TO_INCHES(mm)   ((mm) / 25.4)
 
#define RE_HALF_TONE_ALPHA   0.6f
 
#define RE_QUARTER_TONE_ALPHA   0.3f
 
#define RE_MODE_MULTISAMPLE_MASK   0x60
 
#define RE_MODE_MULTISAMPLE_SHIFT   5
 
#define PATTERN_STACK_SIZE   7
 
#define RE_SMOOTH_STACK_SIZE   16
 
#define RE_STENCIL_STACK_SIZE   16
 
#define RE_ALIGN_STACK_SIZE   16
 
#define RE_FRAMEBUFFER_STACK_SIZE   8
 
#define RE_SHADER_STACK_SIZE   16
 
#define RE_BUFFER_STACK_SIZE   8
 
#define RE_DEPTH_STACK_SIZE   16
 
#define RE_UNIFORM_STACK_SIZE   16
 
#define RE_STACK_DEPTH   256
 

Typedefs

typedef UT_IntrusivePtr
< RE_Material
RE_MaterialPtr
 
typedef UT_IntrusivePtr
< RE_OGLBuffer
RE_OGLBufferHandle
 
typedef UT_StringArray RE_OverrideList
 
typedef IMG_Raster *(* RE_IconLoader )(int, int)
 
typedef QOpenGLContext * RE_OGLContext
 
typedef RE_GLDrawableOGLDrawable
 

Enumerations

enum  RE_WindowType {
  RE_WINDOW_MAIN, RE_WINDOW_NORMAL, RE_WINDOW_DIALOG, RE_WINDOW_UTILITY,
  RE_WINDOW_SPLASH, RE_WINDOW_TRANSIENT, RE_WINDOW_CHILD, RE_WINDOW_MENU,
  RE_WINDOW_HELPTIP, RE_WINDOW_NORMAL_BORDERLESS, RE_WINDOW_INVALID_TYPE
}
 
enum  RE_GPUType {
  RE_GPU_UINT1 = 0, RE_GPU_UINT4, RE_GPU_UINT8, RE_GPU_UINT16,
  RE_GPU_UINT32, RE_GPU_INT8, RE_GPU_INT16, RE_GPU_INT32,
  RE_GPU_FLOAT16, RE_GPU_FLOAT24, RE_GPU_FLOAT32, RE_GPU_FLOAT64,
  RE_GPU_MATRIX2, RE_GPU_MATRIX3, RE_GPU_MATRIX4
}
 
enum  RE_PrimType {
  RE_PRIM_NONE, RE_PRIM_AS_IS = RE_PRIM_NONE, RE_PRIM_POINTS, RE_PRIM_LINES,
  RE_PRIM_LINE_STRIP, RE_PRIM_LINE_LOOP, RE_PRIM_TRIANGLES, RE_PRIM_TRIANGLE_STRIP,
  RE_PRIM_TRIANGLE_FAN, RE_PRIM_LINES_ADJACENT, RE_PRIM_LINE_STRIP_ADJACENT, RE_PRIM_TRIANGLES_ADJACENT,
  RE_PRIM_TRIANGLE_STRIP_ADJACENT, RE_PRIM_POLYGONS, RE_PRIM_PATCHES, RE_NUM_PRIM_TYPES
}
 
enum  RE_ShaderType {
  RE_SHADER_VERTEX = 0x1, RE_SHADER_GEOMETRY = 0x2, RE_SHADER_FRAGMENT = 0x4, RE_SHADER_TESSCONTROL = 0x8,
  RE_SHADER_TESSEVAL = 0x10, RE_SHADER_COMPUTE = 0x20, RE_SHADER_ALL = 0x3f
}
 
enum  RE_ShaderLanguage {
  RE_SHADER_LANGUAGE_GLSL = 1, RE_SHADER_LANGUAGE_COMPUTE = 2, RE_SHADER_LANGUAGE_VULKAN = 3, RE_SHADER_LANGUAGE_VULKAN_COMPUTE = 4,
  RE_SHADER_LANGUAGE_ALL = ~0
}
 
enum  RE_ShaderTarget {
  RE_SHADER_TARGET_POINT = 0, RE_SHADER_TARGET_LINE, RE_SHADER_TARGET_TRIANGLE, RE_SHADER_TARGET_TERRAIN,
  RE_SHADER_NUM_TARGETS
}
 
enum  RE_BufferType {
  RE_BUFFER_ATTRIBUTE = 0x001, RE_BUFFER_ELEMENT = 0x002, RE_BUFFER_UNIFORM = 0x004, RE_BUFFER_PIXEL_WRITE = 0x008,
  RE_BUFFER_PIXEL_READ = 0x010, RE_BUFFER_TEXTURE = 0x020, RE_BUFFER_SHADER_STORAGE = 0x040
}
 
enum  RE_BufferUsageHint {
  RE_BUFFER_WRITE_ONCE, RE_BUFFER_WRITE_FREQUENT, RE_BUFFER_WRITE_STREAM, RE_BUFFER_READ_ONCE,
  RE_BUFFER_READ_FREQUENT, RE_BUFFER_READ_STREAM, RE_BUFFER_READ_WRITE_ONCE, RE_BUFFER_READ_WRITE_FREQUENT,
  RE_BUFFER_READ_WRITE_STREAM
}
 
enum  RE_BufferAccess { RE_BUFFER_READ_ONLY, RE_BUFFER_WRITE_ONLY, RE_BUFFER_READ_WRITE }
 
enum  RE_BufferBinding {
  RE_BUFFER_BINDING_ARRAY, RE_BUFFER_BINDING_ELEMENT, RE_BUFFER_BINDING_PIXEL_WRITE, RE_BUFFER_BINDING_PIXEL_READ,
  RE_BUFFER_BINDING_UNIFORM, RE_BUFFER_BINDING_TEXTURE, RE_BUFFER_BINDING_TRANSFORM_FEEDBACK, RE_BUFFER_BINDING_COMPUTE_INDIRECT,
  RE_BUFFER_BINDING_SHADER_STORAGE, RE_BUFFER_BINDING_SHADER_ATOMIC, RE_BUFFER_BINDING_DRAW_INDIRECT
}
 
enum  RE_ArrayType {
  RE_ARRAY_VERTEX, RE_ARRAY_POINT, RE_ARRAY_PRIMITIVE, RE_ARRAY_INSTANCE,
  RE_ARRAY_DETAIL, RE_ARRAY_RANDOM, RE_ARRAY_NULL
}
 
enum  RE_GenericAttribID {
  RE_GENATTRIB_UNDEF = -2, RE_GENATTRIB_NONE = -1, RE_GENATTRIB_P = 0, RE_GENATTRIB_CD,
  RE_GENATTRIB_ALPHA, RE_GENATTRIB_N, RE_GENATTRIB_UV, RE_GENATTRIB_PSCALE,
  RE_GENATTRIB_INSTANCE_INDEX, RE_GENATTRIB_WIDTH, RE_GENATTRIB_CE, RE_GENATTRIB_POINT_ID,
  RE_GENATTRIB_PRIM_ID, RE_GENATTRIB_PRIM_INFO, RE_GENATTRIB_VERT_INFO, RE_GENATTRIB_POINT_SELECTION,
  RE_GENATTRIB_PRIM_SELECTION, RE_GENATTRIB_VERT_SELECTION, RE_GENATTRIB_INSTANCE_SELECTION, RE_GENATTRIB_INSTANCE_TRANSFORM,
  RE_GENATTRIB_INSTANCE_CD, RE_GENATTRIB_INSTANCE_TEX, RE_GENATTRIB_INSTANCE_ID, RE_GENATTRIB_NUM_IDS
}
 
enum  RE_ShaderAttribLocation {
  RE_LOC_UNDEF = -2, RE_LOC_NONE = -1, RE_LOC_P = 0, RE_LOC_CD = 1,
  RE_LOC_ALPHA = 2, RE_LOC_N = 3, RE_LOC_CE = 3, RE_LOC_UV = 4,
  RE_LOC_PSCALE = 5, RE_LOC_WIDTH = 5, RE_LOC_POINT_SELECTION = 6, RE_LOC_POINT_ID = 7,
  RE_LOC_INSTANCE_INDEX = 8, RE_LOC_PRIM_ID = 9, RE_LOC_PRIM_SELECTION = 10, RE_LOC_VERT_SELECTION = 11,
  RE_LOC_FIRST_CUSTOM
}
 
enum  RE_RenderBuf {
  RE_BUFFER_UNINIT = 0, RE_FRONT, RE_BACK, RE_BACK_LEFT,
  RE_BACK_RIGHT, RE_FBO_ZS, RE_FBO_COLOR
}
 
enum  RE_MatrixMode { RE_MATRIX_VIEWING, RE_MATRIX_PROJECTION }
 
enum  RE_LineStyle { RE_LINE_SOLID = 0, RE_LINE_DOTTED = 1 }
 
enum  RE_SmoothMode { RE_SMOOTH_OFF = 0, RE_SMOOTH_ON = 1 }
 
enum  RE_FaceMode { RE_FACE_FRONT, RE_FACE_BACK, RE_FACE_BOTH }
 
enum  RE_ZFunction {
  RE_ZNEVER, RE_ZLESS, RE_ZEQUAL, RE_ZLEQUAL,
  RE_ZGREATER, RE_ZNOTEQUAL, RE_ZGEQUAL, RE_ZALWAYS
}
 
enum  RE_SFunction {
  RE_SNEVER, RE_SLESS, RE_SEQUAL, RE_SLEQUAL,
  RE_SGREATER, RE_SNOTEQUAL, RE_SGEQUAL, RE_SALWAYS
}
 
enum  RE_SOperation {
  RE_SKEEP, RE_SZERO, RE_SREPLACE, RE_SINCR,
  RE_SDECR, RE_SINCR_WRAP, RE_SDECR_WRAP, RE_SINVERT
}
 
enum  RE_BlendSourceFactor {
  RE_SBLEND_ZERO, RE_SBLEND_DST_COLOR, RE_SBLEND_ONE_MINUS_DST_COLOR, RE_SBLEND_SRC_ALPHA,
  RE_SBLEND_ONE_MINUS_SRC_ALPHA, RE_SBLEND_DST_ALPHA, RE_SBLEND_ONE_MINUS_DST_ALPHA, RE_SBLEND_SRC_ALPHA_SATURATE,
  RE_SBLEND_ONE
}
 
enum  RE_BlendDestFactor {
  RE_DBLEND_ONE, RE_DBLEND_SRC_COLOR, RE_DBLEND_ONE_MINUS_SRC_COLOR, RE_DBLEND_SRC_ALPHA,
  RE_DBLEND_ONE_MINUS_SRC_ALPHA, RE_DBLEND_DST_ALPHA, RE_DBLEND_ONE_MINUS_DST_ALPHA, RE_DBLEND_ZERO
}
 
enum  RE_BlendEquation {
  RE_BLEND_ADD, RE_BLEND_SUBTRACT, RE_BLEND_SUBTRACT_REV, RE_BLEND_MIN,
  RE_BLEND_MAX
}
 
enum  RE_PersistentBufferMode { RE_PERSISTENT_BUFFER_DISABLE, RE_PERSISTENT_BUFFER_ENABLE, RE_PERSISTENT_BUFFER_COHERENT }
 
enum  RE_MemoryBarrierBitfield {
  RE_BARRIER_VERTEX_ATTRIB = 0x1, RE_BARRIER_ELEMENT_ARRAY = 0x2, RE_BARRIER_UNIFORM = 0x4, RE_BARRIER_TEXTURE_FETCH = 0x8,
  RE_BARRIER_SHADER_IMAGE = 0x20, RE_BARRIER_COMMAND = 0x40, RE_BARRIER_PIXEL_BUFFER = 0x80, RE_BARRIER_TEXTURE_UPDATE = 0x100,
  RE_BARRIER_BUFFER_UPDATE = 0x200, RE_BARRIER_FRAMEBUFFER = 0x400, RE_BARRIER_TRANSFORM_FEEDBACK = 0x800, RE_BARRIER_ATOMIC_COUNTER = 0x1000,
  RE_BARRIER_SHADER_STORAGE = 0x2000, RE_BARRIER_PERSISTENT_MAP = 0x4000, RE_BARRIER_QUERY_BUFFER = 0x8000, RE_BARRIER_ALL = 0xFFFFFFFF
}
 
enum  RE_DisplayMode {
  RE_MODE_NONE = 0x000, RE_MODE_RGB = 0x001, RE_MODE_DOUBLE = 0x002, RE_MODE_ZBUFFER = 0x004,
  RE_MODE_ALPHA = 0x008, RE_MODE_STENCIL = 0x010, RE_MODE_MULTISAMPLE_LOW = 0x020, RE_MODE_MULTISAMPLE_MED = 0x040,
  RE_MODE_MULTISAMPLE_HIGH = 0x060, RE_MODE_ACCUM = 0x080, RE_MODE_ACCUM_ALPHA = 0x100, RE_MODE_HDR = 0x200,
  RE_MODE_HDR_FP32 = 0x400, RE_MODE_STEREO = 0x800, RE_MODE_RGB_SINGLE = RE_MODE_RGB, RE_MODE_RGB_DOUBLE = RE_MODE_RGB | RE_MODE_DOUBLE,
  RE_MODE_RGBA_SINGLE = RE_MODE_RGB | RE_MODE_ALPHA, RE_MODE_RGBA_DOUBLE = RE_MODE_RGB | RE_MODE_DOUBLE | RE_MODE_ALPHA, RE_MODE_RGBZ_SINGLE = RE_MODE_RGB | RE_MODE_ZBUFFER, RE_MODE_RGBZ_DOUBLE = RE_MODE_RGB | RE_MODE_DOUBLE|RE_MODE_ZBUFFER,
  RE_MODE_RGBSZ_SINGLE = RE_MODE_RGBZ_SINGLE | RE_MODE_STENCIL, RE_MODE_RGBSZ_DOUBLE = RE_MODE_RGBZ_DOUBLE | RE_MODE_STENCIL, RE_MODE_RGBAZ_SINGLE = RE_MODE_RGB | RE_MODE_ALPHA |RE_MODE_ZBUFFER, RE_MODE_RGBAZ_DOUBLE,
  RE_MODE_RGBS_SINGLE = RE_MODE_RGB | RE_MODE_STENCIL, RE_MODE_RGBS_DOUBLE = RE_MODE_RGB | RE_MODE_DOUBLE|RE_MODE_STENCIL, RE_MODE_RGBAS_SINGLE = RE_MODE_RGB | RE_MODE_ALPHA |RE_MODE_STENCIL, RE_MODE_RGBAS_DOUBLE,
  RE_MODE_RGB_BEST = RE_MODE_RGB_DOUBLE, RE_MODE_RGBA_BEST = RE_MODE_RGBA_DOUBLE, RE_MODE_RGBZ_BEST = RE_MODE_RGBZ_DOUBLE, RE_MODE_RGBAZ_BEST = RE_MODE_RGBAZ_DOUBLE,
  RE_MODE_RGBS_BEST = RE_MODE_RGBS_DOUBLE, RE_MODE_RGBAS_BEST = RE_MODE_RGBAS_DOUBLE
}
 
enum  RE_VisualType { RE_NORMAL_VIS, RE_OVERLAY_VIS, RE_FULLSCREEN_OVERLAY_VIS }
 
enum  RE_Severity { RE_SEVERITY_MESSAGE =0, RE_SEVERITY_LOW, RE_SEVERITY_MEDIUM, RE_SEVERITY_HIGH }
 
enum  RE_GraphicsDevice {
  RE_DEVICE_UNKNOWN = 0x0, RE_DEVICE_ATI = 0x1, RE_DEVICE_NVIDIA = 0x2, RE_DEVICE_INTEL_GMA = 0x4,
  RE_DEVICE_INTEL_HD = 0x8, RE_DEVICE_GDI = 0x10, RE_DEVICE_MESA = 0x20, RE_DEVICE_PRO = 0x100,
  RE_DEVICE_MAC = 0x200, RE_DEVICE_MAC_SILICON = 0x600, RE_DEVICE_ATI_PRO = (RE_DEVICE_PRO|RE_DEVICE_ATI), RE_DEVICE_NVIDIA_PRO = (RE_DEVICE_PRO|RE_DEVICE_NVIDIA),
  RE_DEVICE_INTEL_PRO = (RE_DEVICE_PRO|RE_DEVICE_INTEL_HD)
}
 

Functions

UT_GPUType REconvertToUTGPUType (RE_GPUType t)
 
RE_GPUType REconvertFromGPUType (UT_GPUType t)
 
RE_API const char * REgetTypeName (RE_GPUType p)
 
RE_GPUType REconvertIMGType (IMG_DataType t)
 
RE_GPUType REconvertPXLType (PXL_DataFormat t)
 
unsigned int REsizeOfGPUType (RE_GPUType gpu_type)
 
RE_API int REgetGLPrim (RE_PrimType t)
 
RE_API RE_PrimType REgetREPrim (int gltype)
 
RE_API const char * REgetPrimName (RE_PrimType p)
 
UT_StringHolder REshaderStageExtension (RE_ShaderType stage)
 
RE_API RE_ShaderTarget REgetShaderTargetForPrim (RE_PrimType type)
 
RE_API RE_ShaderTarget REgetShaderTargetForGLPrim (int gltype)
 
RE_API RE_GraphicsDevice REdetermineGraphicsDevice (const char *renderstring)
 
bool REisProfessionalDevice (RE_GraphicsDevice dev)
 
bool REisConsumerDevice (RE_GraphicsDevice dev)
 
RE_API void REgetDeviceName (RE_GraphicsDevice dev, UT_String &name)
 

Macro Definition Documentation

#define MM_TO_INCHES (   mm)    ((mm) / 25.4)

Definition at line 425 of file RE_Types.h.

#define PATTERN_STACK_SIZE   7

Definition at line 932 of file RE_Types.h.

#define RE_ALIGN_STACK_SIZE   16

Definition at line 935 of file RE_Types.h.

#define RE_BUFCACHE_DEFAULT_MAX_SIZE   384 * 1024 * 1024

Definition at line 418 of file RE_Types.h.

#define RE_BUFFER_STACK_SIZE   8

Definition at line 938 of file RE_Types.h.

#define RE_DEFAULT_DPI   85.0

Definition at line 421 of file RE_Types.h.

#define RE_DEPTH_STACK_SIZE   16

Definition at line 939 of file RE_Types.h.

#define RE_FRAMEBUFFER_STACK_SIZE   8

Definition at line 936 of file RE_Types.h.

#define RE_HALF_TONE_ALPHA   0.6f

Definition at line 427 of file RE_Types.h.

#define RE_MAX_PICK_DIST   100

Definition at line 16 of file RE_Types.h.

#define RE_MIN_RESOLUTION_SCALE_FACTOR   0.85f

Definition at line 423 of file RE_Types.h.

#define RE_MODE_MULTISAMPLE_MASK   0x60

Definition at line 570 of file RE_Types.h.

#define RE_MODE_MULTISAMPLE_SHIFT   5

Definition at line 571 of file RE_Types.h.

#define RE_NUM_WINDOW_TYPES   RE_WINDOW_INVALID_TYPE

Definition at line 41 of file RE_Types.h.

#define RE_QUARTER_TONE_ALPHA   0.3f

Definition at line 428 of file RE_Types.h.

#define RE_SCALE_BELOW_RESOLUTION   1000

Definition at line 422 of file RE_Types.h.

#define RE_SHADER_STACK_SIZE   16

Definition at line 937 of file RE_Types.h.

#define RE_SMOOTH_STACK_SIZE   16

Definition at line 933 of file RE_Types.h.

#define RE_STACK_DEPTH   256

Definition at line 943 of file RE_Types.h.

#define RE_STENCIL_STACK_SIZE   16

Definition at line 934 of file RE_Types.h.

#define RE_TEXCACHE_DEFAULT_MAX_SIZE   96 * 1024 * 1024

Definition at line 417 of file RE_Types.h.

#define RE_UNIFORM_STACK_SIZE   16

Definition at line 940 of file RE_Types.h.

Typedef Documentation

Definition at line 956 of file RE_Types.h.

typedef IMG_Raster*(* RE_IconLoader)(int, int)

Definition at line 688 of file RE_Types.h.

Definition at line 678 of file RE_Types.h.

Definition at line 680 of file RE_Types.h.

typedef QOpenGLContext* RE_OGLContext

Definition at line 952 of file RE_Types.h.

Definition at line 685 of file RE_Types.h.

Enumeration Type Documentation

Enumerator
RE_ARRAY_VERTEX 
RE_ARRAY_POINT 
RE_ARRAY_PRIMITIVE 
RE_ARRAY_INSTANCE 
RE_ARRAY_DETAIL 
RE_ARRAY_RANDOM 
RE_ARRAY_NULL 

Definition at line 337 of file RE_Types.h.

Enumerator
RE_DBLEND_ONE 
RE_DBLEND_SRC_COLOR 
RE_DBLEND_ONE_MINUS_SRC_COLOR 
RE_DBLEND_SRC_ALPHA 
RE_DBLEND_ONE_MINUS_SRC_ALPHA 
RE_DBLEND_DST_ALPHA 
RE_DBLEND_ONE_MINUS_DST_ALPHA 
RE_DBLEND_ZERO 

Definition at line 520 of file RE_Types.h.

Enumerator
RE_BLEND_ADD 
RE_BLEND_SUBTRACT 
RE_BLEND_SUBTRACT_REV 
RE_BLEND_MIN 
RE_BLEND_MAX 

Definition at line 532 of file RE_Types.h.

Enumerator
RE_SBLEND_ZERO 
RE_SBLEND_DST_COLOR 
RE_SBLEND_ONE_MINUS_DST_COLOR 
RE_SBLEND_SRC_ALPHA 
RE_SBLEND_ONE_MINUS_SRC_ALPHA 
RE_SBLEND_DST_ALPHA 
RE_SBLEND_ONE_MINUS_DST_ALPHA 
RE_SBLEND_SRC_ALPHA_SATURATE 
RE_SBLEND_ONE 

Definition at line 507 of file RE_Types.h.

Enumerator
RE_BUFFER_READ_ONLY 
RE_BUFFER_WRITE_ONLY 
RE_BUFFER_READ_WRITE 

Definition at line 314 of file RE_Types.h.

Enumerator
RE_BUFFER_BINDING_ARRAY 
RE_BUFFER_BINDING_ELEMENT 
RE_BUFFER_BINDING_PIXEL_WRITE 
RE_BUFFER_BINDING_PIXEL_READ 
RE_BUFFER_BINDING_UNIFORM 
RE_BUFFER_BINDING_TEXTURE 
RE_BUFFER_BINDING_TRANSFORM_FEEDBACK 
RE_BUFFER_BINDING_COMPUTE_INDIRECT 
RE_BUFFER_BINDING_SHADER_STORAGE 
RE_BUFFER_BINDING_SHADER_ATOMIC 
RE_BUFFER_BINDING_DRAW_INDIRECT 

Definition at line 321 of file RE_Types.h.

Enumerator
RE_BUFFER_ATTRIBUTE 
RE_BUFFER_ELEMENT 
RE_BUFFER_UNIFORM 
RE_BUFFER_PIXEL_WRITE 
RE_BUFFER_PIXEL_READ 
RE_BUFFER_TEXTURE 
RE_BUFFER_SHADER_STORAGE 

Definition at line 284 of file RE_Types.h.

Enumerator
RE_BUFFER_WRITE_ONCE 
RE_BUFFER_WRITE_FREQUENT 
RE_BUFFER_WRITE_STREAM 
RE_BUFFER_READ_ONCE 
RE_BUFFER_READ_FREQUENT 
RE_BUFFER_READ_STREAM 
RE_BUFFER_READ_WRITE_ONCE 
RE_BUFFER_READ_WRITE_FREQUENT 
RE_BUFFER_READ_WRITE_STREAM 

Definition at line 296 of file RE_Types.h.

Enumerator
RE_MODE_NONE 
RE_MODE_RGB 
RE_MODE_DOUBLE 
RE_MODE_ZBUFFER 
RE_MODE_ALPHA 
RE_MODE_STENCIL 
RE_MODE_MULTISAMPLE_LOW 
RE_MODE_MULTISAMPLE_MED 
RE_MODE_MULTISAMPLE_HIGH 
RE_MODE_ACCUM 
RE_MODE_ACCUM_ALPHA 
RE_MODE_HDR 
RE_MODE_HDR_FP32 
RE_MODE_STEREO 
RE_MODE_RGB_SINGLE 
RE_MODE_RGB_DOUBLE 
RE_MODE_RGBA_SINGLE 
RE_MODE_RGBA_DOUBLE 
RE_MODE_RGBZ_SINGLE 
RE_MODE_RGBZ_DOUBLE 
RE_MODE_RGBSZ_SINGLE 
RE_MODE_RGBSZ_DOUBLE 
RE_MODE_RGBAZ_SINGLE 
RE_MODE_RGBAZ_DOUBLE 
RE_MODE_RGBS_SINGLE 
RE_MODE_RGBS_DOUBLE 
RE_MODE_RGBAS_SINGLE 
RE_MODE_RGBAS_DOUBLE 
RE_MODE_RGB_BEST 
RE_MODE_RGBA_BEST 
RE_MODE_RGBZ_BEST 
RE_MODE_RGBAZ_BEST 
RE_MODE_RGBS_BEST 
RE_MODE_RGBAS_BEST 

Definition at line 573 of file RE_Types.h.

Enumerator
RE_FACE_FRONT 
RE_FACE_BACK 
RE_FACE_BOTH 

Definition at line 464 of file RE_Types.h.

Enumerator
RE_GENATTRIB_UNDEF 
RE_GENATTRIB_NONE 
RE_GENATTRIB_P 
RE_GENATTRIB_CD 
RE_GENATTRIB_ALPHA 
RE_GENATTRIB_N 
RE_GENATTRIB_UV 
RE_GENATTRIB_PSCALE 
RE_GENATTRIB_INSTANCE_INDEX 
RE_GENATTRIB_WIDTH 
RE_GENATTRIB_CE 
RE_GENATTRIB_POINT_ID 
RE_GENATTRIB_PRIM_ID 
RE_GENATTRIB_PRIM_INFO 
RE_GENATTRIB_VERT_INFO 
RE_GENATTRIB_POINT_SELECTION 
RE_GENATTRIB_PRIM_SELECTION 
RE_GENATTRIB_VERT_SELECTION 
RE_GENATTRIB_INSTANCE_SELECTION 
RE_GENATTRIB_INSTANCE_TRANSFORM 
RE_GENATTRIB_INSTANCE_CD 
RE_GENATTRIB_INSTANCE_TEX 
RE_GENATTRIB_INSTANCE_ID 
RE_GENATTRIB_NUM_IDS 

Definition at line 348 of file RE_Types.h.

enum RE_GPUType
Enumerator
RE_GPU_UINT1 
RE_GPU_UINT4 
RE_GPU_UINT8 
RE_GPU_UINT16 
RE_GPU_UINT32 
RE_GPU_INT8 
RE_GPU_INT16 
RE_GPU_INT32 
RE_GPU_FLOAT16 
RE_GPU_FLOAT24 
RE_GPU_FLOAT32 
RE_GPU_FLOAT64 
RE_GPU_MATRIX2 
RE_GPU_MATRIX3 
RE_GPU_MATRIX4 

Definition at line 44 of file RE_Types.h.

Enumerator
RE_DEVICE_UNKNOWN 
RE_DEVICE_ATI 
RE_DEVICE_NVIDIA 
RE_DEVICE_INTEL_GMA 
RE_DEVICE_INTEL_HD 
RE_DEVICE_GDI 
RE_DEVICE_MESA 
RE_DEVICE_PRO 
RE_DEVICE_MAC 
RE_DEVICE_MAC_SILICON 
RE_DEVICE_ATI_PRO 
RE_DEVICE_NVIDIA_PRO 
RE_DEVICE_INTEL_PRO 

Definition at line 641 of file RE_Types.h.

Enumerator
RE_LINE_SOLID 
RE_LINE_DOTTED 

Definition at line 452 of file RE_Types.h.

Enumerator
RE_MATRIX_VIEWING 
RE_MATRIX_PROJECTION 

Definition at line 446 of file RE_Types.h.

Enumerator
RE_BARRIER_VERTEX_ATTRIB 
RE_BARRIER_ELEMENT_ARRAY 
RE_BARRIER_UNIFORM 
RE_BARRIER_TEXTURE_FETCH 
RE_BARRIER_SHADER_IMAGE 
RE_BARRIER_COMMAND 
RE_BARRIER_PIXEL_BUFFER 
RE_BARRIER_TEXTURE_UPDATE 
RE_BARRIER_BUFFER_UPDATE 
RE_BARRIER_FRAMEBUFFER 
RE_BARRIER_TRANSFORM_FEEDBACK 
RE_BARRIER_ATOMIC_COUNTER 
RE_BARRIER_SHADER_STORAGE 
RE_BARRIER_PERSISTENT_MAP 
RE_BARRIER_QUERY_BUFFER 
RE_BARRIER_ALL 

Definition at line 549 of file RE_Types.h.

Enumerator
RE_PERSISTENT_BUFFER_DISABLE 
RE_PERSISTENT_BUFFER_ENABLE 
RE_PERSISTENT_BUFFER_COHERENT 

Definition at line 541 of file RE_Types.h.

Enumerator
RE_PRIM_NONE 
RE_PRIM_AS_IS 
RE_PRIM_POINTS 
RE_PRIM_LINES 
RE_PRIM_LINE_STRIP 
RE_PRIM_LINE_LOOP 
RE_PRIM_TRIANGLES 
RE_PRIM_TRIANGLE_STRIP 
RE_PRIM_TRIANGLE_FAN 
RE_PRIM_LINES_ADJACENT 
RE_PRIM_LINE_STRIP_ADJACENT 
RE_PRIM_TRIANGLES_ADJACENT 
RE_PRIM_TRIANGLE_STRIP_ADJACENT 
RE_PRIM_POLYGONS 
RE_PRIM_PATCHES 
RE_NUM_PRIM_TYPES 

Definition at line 193 of file RE_Types.h.

Enumerator
RE_BUFFER_UNINIT 
RE_FRONT 
RE_BACK 
RE_BACK_LEFT 
RE_BACK_RIGHT 
RE_FBO_ZS 
RE_FBO_COLOR 

Definition at line 430 of file RE_Types.h.

Enumerator
RE_SEVERITY_MESSAGE 
RE_SEVERITY_LOW 
RE_SEVERITY_MEDIUM 
RE_SEVERITY_HIGH 

Definition at line 630 of file RE_Types.h.

Enumerator
RE_SNEVER 
RE_SLESS 
RE_SEQUAL 
RE_SLEQUAL 
RE_SGREATER 
RE_SNOTEQUAL 
RE_SGEQUAL 
RE_SALWAYS 

Definition at line 483 of file RE_Types.h.

Vertex shader input locations for known attribute types. All others attributes are assigned starting at location 'RE_GENLOC_FIRST_CUSTOM'.

Enumerator
RE_LOC_UNDEF 
RE_LOC_NONE 
RE_LOC_P 
RE_LOC_CD 
RE_LOC_ALPHA 
RE_LOC_N 
RE_LOC_CE 
RE_LOC_UV 
RE_LOC_PSCALE 
RE_LOC_WIDTH 
RE_LOC_POINT_SELECTION 
RE_LOC_POINT_ID 
RE_LOC_INSTANCE_INDEX 
RE_LOC_PRIM_ID 
RE_LOC_PRIM_SELECTION 
RE_LOC_VERT_SELECTION 
RE_LOC_FIRST_CUSTOM 

Definition at line 384 of file RE_Types.h.

Enumerator
RE_SHADER_LANGUAGE_GLSL 
RE_SHADER_LANGUAGE_COMPUTE 
RE_SHADER_LANGUAGE_VULKAN 
RE_SHADER_LANGUAGE_VULKAN_COMPUTE 
RE_SHADER_LANGUAGE_ALL 

Definition at line 257 of file RE_Types.h.

Enumerator
RE_SHADER_TARGET_POINT 
RE_SHADER_TARGET_LINE 
RE_SHADER_TARGET_TRIANGLE 
RE_SHADER_TARGET_TERRAIN 
RE_SHADER_NUM_TARGETS 

Definition at line 269 of file RE_Types.h.

Enumerator
RE_SHADER_VERTEX 
RE_SHADER_GEOMETRY 
RE_SHADER_FRAGMENT 
RE_SHADER_TESSCONTROL 
RE_SHADER_TESSEVAL 
RE_SHADER_COMPUTE 
RE_SHADER_ALL 

Definition at line 228 of file RE_Types.h.

Enumerator
RE_SMOOTH_OFF 
RE_SMOOTH_ON 

Definition at line 458 of file RE_Types.h.

Enumerator
RE_SKEEP 
RE_SZERO 
RE_SREPLACE 
RE_SINCR 
RE_SDECR 
RE_SINCR_WRAP 
RE_SDECR_WRAP 
RE_SINVERT 

Definition at line 495 of file RE_Types.h.

Enumerator
RE_NORMAL_VIS 
RE_OVERLAY_VIS 
RE_FULLSCREEN_OVERLAY_VIS 

Definition at line 623 of file RE_Types.h.

Enumerator
RE_WINDOW_MAIN 
RE_WINDOW_NORMAL 
RE_WINDOW_DIALOG 
RE_WINDOW_UTILITY 
RE_WINDOW_SPLASH 
RE_WINDOW_TRANSIENT 
RE_WINDOW_CHILD 
RE_WINDOW_MENU 
RE_WINDOW_HELPTIP 
RE_WINDOW_NORMAL_BORDERLESS 
RE_WINDOW_INVALID_TYPE 

Definition at line 20 of file RE_Types.h.

Enumerator
RE_ZNEVER 
RE_ZLESS 
RE_ZEQUAL 
RE_ZLEQUAL 
RE_ZGREATER 
RE_ZNOTEQUAL 
RE_ZGEQUAL 
RE_ZALWAYS 

Definition at line 471 of file RE_Types.h.

Function Documentation

RE_GPUType REconvertFromGPUType ( UT_GPUType  t)
inline

Definition at line 95 of file RE_Types.h.

RE_GPUType REconvertIMGType ( IMG_DataType  t)
inline

Definition at line 128 of file RE_Types.h.

RE_GPUType REconvertPXLType ( PXL_DataFormat  t)
inline

Definition at line 144 of file RE_Types.h.

UT_GPUType REconvertToUTGPUType ( RE_GPUType  t)
inline

Definition at line 67 of file RE_Types.h.

RE_API RE_GraphicsDevice REdetermineGraphicsDevice ( const char *  renderstring)
RE_API void REgetDeviceName ( RE_GraphicsDevice  dev,
UT_String name 
)
RE_API int REgetGLPrim ( RE_PrimType  t)
RE_API const char* REgetPrimName ( RE_PrimType  p)
RE_API RE_PrimType REgetREPrim ( int  gltype)
RE_API RE_ShaderTarget REgetShaderTargetForGLPrim ( int  gltype)
RE_API RE_ShaderTarget REgetShaderTargetForPrim ( RE_PrimType  type)
RE_API const char* REgetTypeName ( RE_GPUType  p)
bool REisConsumerDevice ( RE_GraphicsDevice  dev)
inline

Definition at line 669 of file RE_Types.h.

bool REisProfessionalDevice ( RE_GraphicsDevice  dev)
inline

Definition at line 664 of file RE_Types.h.

UT_StringHolder REshaderStageExtension ( RE_ShaderType  stage)
inline

Definition at line 242 of file RE_Types.h.

unsigned int REsizeOfGPUType ( RE_GPUType  gpu_type)
inline

Definition at line 150 of file RE_Types.h.