Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SbEnums.h File Reference
#include <Inventor/SbBase.h>

Go to the source code of this file.

Enumerations

enum  TextureAddressMode {
  TEX_ADDRESS_MIRROR_CLAMP = 0 ,
  TEX_ADDRESS_CLAMP = 0x2900 ,
  TEX_ADDRESS_REPEAT = 0x2901 ,
  TEX_ADDRESS_CLAMP_BORDER = 0x812D ,
  TEX_ADDRESS_CLAMP_TO_EDGE = 0x812F ,
  TEX_ADDRESS_MIRROR_REPEAT = 0x8370
}
 Enumerates the different texture addressing options. More...
 
enum  ImageDataFormat {
  IMG_FORMAT_DEPTH_COMPONENT ,
  IMG_FORMAT_STENCIL_INDEX ,
  IMG_FORMAT_DEPTH_STENCIL ,
  IMG_FORMAT_RED ,
  IMG_FORMAT_GREEN ,
  IMG_FORMAT_BLUE ,
  IMG_FORMAT_RG ,
  IMG_FORMAT_RGB ,
  IMG_FORMAT_RGBA ,
  IMG_FORMAT_BGR ,
  IMG_FORMAT_BGRA ,
  IMG_FORMAT_RED_INTEGER ,
  IMG_FORMAT_GREEN_INTEGER ,
  IMG_FORMAT_BLUE_INTEGER ,
  IMG_FORMAT_RG_INTEGER ,
  IMG_FORMAT_RGB_INTEGER ,
  IMG_FORMAT_RGBA_INTEGER ,
  IMG_FORMAT_BGR_INTEGER ,
  IMG_FORMAT_BGRA_INTEGER
}
 Enumerates the different image data formats. More...
 
enum  ShaderType {
  SHADER_TYPE_VERTEX ,
  SHADER_TYPE_GEOMETRY ,
  SHADER_TYPE_FRAGMENT ,
  SHADER_TYPE_TESS_CTRL ,
  SHADER_TYPE_TESS_EVAL ,
  SHADER_TYPE_COMPUTE ,
  SHADER_TYPE_LAST
}
 Enumerates the different shader type. More...
 
enum  BlendFactor {
  BLEND_ZERO ,
  BLEND_ONE ,
  BLEND_SRC_COLOR ,
  BLEND_ONE_MINUS_SRC_COLOR ,
  BLEND_DST_COLOR ,
  BLEND_ONE_MINUS_DST_COLOR ,
  BLEND_SRC_ALPHA ,
  BLEND_ONE_MINUS_SRC_ALPHA ,
  BLEND_DST_ALPHA ,
  BLEND_ONE_MINUS_DST_ALPHA ,
  BLEND_CONSTANT_COLOR ,
  BLEND_ONE_MINUS_CONSTANT_COLOR ,
  BLEND_CONSTANT_ALPHA ,
  BLEND_ONE_MINUS_CONSTANT_ALPHA ,
  BLEND_SRC_ALPHA_SATURATE ,
  BLEND_SRC1_COLOR ,
  BLEND_ONE_MINUS_SRC1_COLOR ,
  BLEND_SRC1_ALPHA ,
  BLEND_ONE_MINUS_SRC1_ALPHA
}
 Enumerates the different blend factor. More...
 
enum  BufferAccess {
  READ ,
  WRITE ,
  READ_WRITE
}
 Access mode for Buffer. More...
 
enum  BlendFunction {
  BLEND_FUNC_ADD ,
  BLEND_FUNC_SUBTRACT ,
  BLEND_FUNC_REVERSE_SUBTRACT ,
  BLEND_FUNC_MIN ,
  BLEND_FUNC_MAX
}
 Enumerates the different blending functions. More...
 
enum  OffsetMode {
  OFFSET_SOLID = 0x01 ,
  OFFSET_WIREFRAME = 0x02 ,
  OFFSET_POINTS = 0x04
}
 Enumerate on which type of rendering PolygonOffset is applied. More...
 
enum  ComparisonFunction {
  COMP_FUNC_NEVER = 0 ,
  COMP_FUNC_LESS ,
  COMP_FUNC_LESS_EQUAL ,
  COMP_FUNC_GREATER ,
  COMP_FUNC_GREATER_EQUAL ,
  COMP_FUNC_EQUAL ,
  COMP_FUNC_NOT_EQUAL ,
  COMP_FUNC_ALWAYS
}
 Enumerates the different depth/stencil comparison functions. More...
 
enum  LogicalOperation {
  LOGIC_OP_NOOP ,
  LOGIC_OP_CLEAR ,
  LOGIC_OP_SET ,
  LOGIC_OP_COPY ,
  LOGIC_OP_COPY_INVERTED ,
  LOGIC_OP_INVERT ,
  LOGIC_OP_AND ,
  LOGIC_OP_NAND ,
  LOGIC_OP_AND_REVERSE ,
  LOGIC_OP_AND_INVERTED ,
  LOGIC_OP_OR ,
  LOGIC_OP_NOR ,
  LOGIC_OP_XOR ,
  LOGIC_OP_OR_REVERSE ,
  LOGIC_OP_OR_INVERTED ,
  LOGIC_OP_EQUIV
}
 Enumerates the different per pixel logical operations. More...
 
enum  MemoryBarrier {
  MEM_VERTEX_ATTRIB_ARRAY = 1 ,
  MEM_ELEMENT_ARRAY = 1 << 1 ,
  MEM_UNIFORM = 1 << 2 ,
  MEM_TEXTURE_FETCH = 1 << 3 ,
  MEM_SHADER_IMAGE_ACCESS = 1 << 4 ,
  MEM_COMMAND = 1 << 5 ,
  MEM_PIXEL_BUFFER = 1 << 6 ,
  MEM_TEXTURE_UPDATE = 1 << 7 ,
  MEM_BUFFER_UPDATE = 1 << 8 ,
  MEM_FRAMEBUFFER = 1 << 9 ,
  MEM_TRANSFORM_FEEDBACK = 1 << 10 ,
  MEM_QUERY_BUFFER = 1 << 11 ,
  MEM_ATOMIC_COUNTER = 1 << 12 ,
  MEM_CLIENT_MAPPED_BUFFER = 1 << 13 ,
  MEM_SHADER_STORAGE = 1 << 14 ,
  MEM_ALL = 0xFFFFFFFF
}
 
enum  { OIV_MAX_FIXED_TEXTURE_UNIT = 4 }
 
enum  TextureModel {
  TEX_MODEL_MODULATE = 0x2100 ,
  TEX_MODEL_DECAL = 0x2101 ,
  TEX_MODEL_BLEND = 0x0BE2 ,
  TEX_MODEL_REPLACE = 0x1E01 ,
  TEX_MODEL_ADD = 0x0104 ,
  TEX_MODEL_COMBINE = 0x8570 ,
  TEX_MODEL_ADD_SIGNED = 0x8574 ,
  TEX_MODEL_INTERPOLATE = 0x8575 ,
  TEX_MODEL_SUBTRACT = 0x84E7 ,
  TEX_MODEL_DOT3_RGB = 0x86AE ,
  TEX_MODEL_DOT3_RGBA = 0x86AF
}
 Enumerates the different texture model options. More...
 
enum  TextureFilter {
  TEX_FILTER_AUTO = 0 ,
  TEX_FILTER_NEAREST = 0x2600 ,
  TEX_FILTER_LINEAR = 0x2601 ,
  TEX_FILTER_NEAREST_MIPMAP_NEAREST = 0x2700 ,
  TEX_FILTER_NEAREST_MIPMAP_LINEAR = 0x2702 ,
  TEX_FILTER_LINEAR_MIPMAP_NEAREST = 0x2071 ,
  TEX_FILTER_LINEAR_MIPMAP_LINEAR = 0x2073
}
 Enumerates the different texture filters. More...
 
enum  SourceParameter {
  SRC_PARAM_CONSTANT = 0x8576 ,
  SRC_PARAM_PRIMARY_COLOR = 0x8577 ,
  SRC_PARAM_PREVIOUS = 0x8578 ,
  SRC_PARAM_TEXTURE = 0x1702
}
 Enumerates the different source parameter. More...
 
enum  OperandRGBA {
  SRC_COLOR = 0x0300 ,
  ONE_MINUS_SRC_COLOR = 0x0301 ,
  SRC_ALPHA = 0x0302 ,
  ONE_MINUS_SRC_ALPHA = 0x0303
}
 Specifies the input mapping for the RGB and alpha portions of operand n. More...
 
enum  QueryType {
  QUERY_SAMPLES_PASSED ,
  QUERY_ANY_SAMPLES_PASSED ,
  QUERY_ANY_SAMPLES_PASSED_CONSERVATIVE ,
  QUERY_PRIMITIVES_GENERATED ,
  QUERY_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN ,
  QUERY_TIME_ELAPSED ,
  QUERY_TIMESTAMP
}
 Defines the types of GPU Queries available. More...
 
enum  ShaderBufferType {
  SHADER_STORAGE_BUFFER ,
  UNIFORM_BUFFER
}
 Defines the types of shader buffer types available. More...
 
enum  FogType {
  FOG_TYPE_NONE = 0 ,
  FOG_TYPE_EXP ,
  FOG_TYPE_EXP2 ,
  FOG_TYPE_LINEAR
}
 Defines the types of shader buffer types available. More...
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OIV_MAX_FIXED_TEXTURE_UNIT 

Definition at line 214 of file SbEnums.h.

◆ BlendFactor

Enumerates the different blend factor.

Enumerator
BLEND_ZERO 
BLEND_ONE 
BLEND_SRC_COLOR 
BLEND_ONE_MINUS_SRC_COLOR 
BLEND_DST_COLOR 
BLEND_ONE_MINUS_DST_COLOR 
BLEND_SRC_ALPHA 
BLEND_ONE_MINUS_SRC_ALPHA 
BLEND_DST_ALPHA 
BLEND_ONE_MINUS_DST_ALPHA 
BLEND_CONSTANT_COLOR 
BLEND_ONE_MINUS_CONSTANT_COLOR 
BLEND_CONSTANT_ALPHA 
BLEND_ONE_MINUS_CONSTANT_ALPHA 
BLEND_SRC_ALPHA_SATURATE 
BLEND_SRC1_COLOR 
BLEND_ONE_MINUS_SRC1_COLOR 
BLEND_SRC1_ALPHA 
BLEND_ONE_MINUS_SRC1_ALPHA 

Definition at line 98 of file SbEnums.h.

◆ BlendFunction

Enumerates the different blending functions.

Enumerator
BLEND_FUNC_ADD 
BLEND_FUNC_SUBTRACT 
BLEND_FUNC_REVERSE_SUBTRACT 
BLEND_FUNC_MIN 
BLEND_FUNC_MAX 

Definition at line 134 of file SbEnums.h.

◆ BufferAccess

Access mode for Buffer.

Enumerator
READ 
WRITE 
READ_WRITE 

Definition at line 124 of file SbEnums.h.

◆ ComparisonFunction

Enumerates the different depth/stencil comparison functions.

Enumerator
COMP_FUNC_NEVER 
COMP_FUNC_LESS 
COMP_FUNC_LESS_EQUAL 
COMP_FUNC_GREATER 
COMP_FUNC_GREATER_EQUAL 
COMP_FUNC_EQUAL 
COMP_FUNC_NOT_EQUAL 
COMP_FUNC_ALWAYS 

Definition at line 156 of file SbEnums.h.

◆ FogType

enum FogType

Defines the types of shader buffer types available.

Enumerator
FOG_TYPE_NONE 
FOG_TYPE_EXP 
FOG_TYPE_EXP2 
FOG_TYPE_LINEAR 

Definition at line 297 of file SbEnums.h.

◆ ImageDataFormat

Enumerates the different image data formats.

Enumerator
IMG_FORMAT_DEPTH_COMPONENT 
IMG_FORMAT_STENCIL_INDEX 
IMG_FORMAT_DEPTH_STENCIL 
IMG_FORMAT_RED 
IMG_FORMAT_GREEN 
IMG_FORMAT_BLUE 
IMG_FORMAT_RG 
IMG_FORMAT_RGB 
IMG_FORMAT_RGBA 
IMG_FORMAT_BGR 
IMG_FORMAT_BGRA 
IMG_FORMAT_RED_INTEGER 
IMG_FORMAT_GREEN_INTEGER 
IMG_FORMAT_BLUE_INTEGER 
IMG_FORMAT_RG_INTEGER 
IMG_FORMAT_RGB_INTEGER 
IMG_FORMAT_RGBA_INTEGER 
IMG_FORMAT_BGR_INTEGER 
IMG_FORMAT_BGRA_INTEGER 

Definition at line 58 of file SbEnums.h.

◆ LogicalOperation

Enumerates the different per pixel logical operations.

Enumerator
LOGIC_OP_NOOP 
LOGIC_OP_CLEAR 
LOGIC_OP_SET 
LOGIC_OP_COPY 
LOGIC_OP_COPY_INVERTED 
LOGIC_OP_INVERT 
LOGIC_OP_AND 
LOGIC_OP_NAND 
LOGIC_OP_AND_REVERSE 
LOGIC_OP_AND_INVERTED 
LOGIC_OP_OR 
LOGIC_OP_NOR 
LOGIC_OP_XOR 
LOGIC_OP_OR_REVERSE 
LOGIC_OP_OR_INVERTED 
LOGIC_OP_EQUIV 

Definition at line 171 of file SbEnums.h.

◆ MemoryBarrier

Enumerator
MEM_VERTEX_ATTRIB_ARRAY 
MEM_ELEMENT_ARRAY 
MEM_UNIFORM 
MEM_TEXTURE_FETCH 
MEM_SHADER_IMAGE_ACCESS 
MEM_COMMAND 
MEM_PIXEL_BUFFER 
MEM_TEXTURE_UPDATE 
MEM_BUFFER_UPDATE 
MEM_FRAMEBUFFER 
MEM_TRANSFORM_FEEDBACK 
MEM_QUERY_BUFFER 
MEM_ATOMIC_COUNTER 
MEM_CLIENT_MAPPED_BUFFER 
MEM_SHADER_STORAGE 
MEM_ALL 

Definition at line 194 of file SbEnums.h.

◆ OffsetMode

enum OffsetMode

Enumerate on which type of rendering PolygonOffset is applied.

Enumerator
OFFSET_SOLID 
OFFSET_WIREFRAME 
OFFSET_POINTS 

Definition at line 146 of file SbEnums.h.

◆ OperandRGBA

Specifies the input mapping for the RGB and alpha portions of operand n.

Enumerator
SRC_COLOR 
ONE_MINUS_SRC_COLOR 
SRC_ALPHA 
ONE_MINUS_SRC_ALPHA 

Definition at line 263 of file SbEnums.h.

◆ QueryType

enum QueryType

Defines the types of GPU Queries available.

Enumerator
QUERY_SAMPLES_PASSED 
QUERY_ANY_SAMPLES_PASSED 
QUERY_ANY_SAMPLES_PASSED_CONSERVATIVE 
QUERY_PRIMITIVES_GENERATED 
QUERY_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 
QUERY_TIME_ELAPSED 
QUERY_TIMESTAMP 

Definition at line 274 of file SbEnums.h.

◆ ShaderBufferType

Defines the types of shader buffer types available.

Enumerator
SHADER_STORAGE_BUFFER 
UNIFORM_BUFFER 

Definition at line 288 of file SbEnums.h.

◆ ShaderType

enum ShaderType

Enumerates the different shader type.

Enumerator
SHADER_TYPE_VERTEX 
SHADER_TYPE_GEOMETRY 
SHADER_TYPE_FRAGMENT 
SHADER_TYPE_TESS_CTRL 
SHADER_TYPE_TESS_EVAL 
SHADER_TYPE_COMPUTE 
SHADER_TYPE_LAST 

Definition at line 84 of file SbEnums.h.

◆ SourceParameter

Enumerates the different source parameter.

Enumerator
SRC_PARAM_CONSTANT 
SRC_PARAM_PRIMARY_COLOR 
SRC_PARAM_PREVIOUS 
SRC_PARAM_TEXTURE 

Definition at line 251 of file SbEnums.h.

◆ TextureAddressMode

Enumerates the different texture addressing options.

Enumerator
TEX_ADDRESS_MIRROR_CLAMP 
TEX_ADDRESS_CLAMP 
TEX_ADDRESS_REPEAT 
TEX_ADDRESS_CLAMP_BORDER 
TEX_ADDRESS_CLAMP_TO_EDGE 
TEX_ADDRESS_MIRROR_REPEAT 

Definition at line 44 of file SbEnums.h.

◆ TextureFilter

Enumerates the different texture filters.

Enumerator
TEX_FILTER_AUTO 
TEX_FILTER_NEAREST 
TEX_FILTER_LINEAR 
TEX_FILTER_NEAREST_MIPMAP_NEAREST 
TEX_FILTER_NEAREST_MIPMAP_LINEAR 
TEX_FILTER_LINEAR_MIPMAP_NEAREST 
TEX_FILTER_LINEAR_MIPMAP_LINEAR 

Definition at line 237 of file SbEnums.h.

◆ TextureModel

Enumerates the different texture model options.

Enumerator
TEX_MODEL_MODULATE 
TEX_MODEL_DECAL 
TEX_MODEL_BLEND 
TEX_MODEL_REPLACE 
TEX_MODEL_ADD 
TEX_MODEL_COMBINE 
TEX_MODEL_ADD_SIGNED 
TEX_MODEL_INTERPOLATE 
TEX_MODEL_SUBTRACT 
TEX_MODEL_DOT3_RGB 
TEX_MODEL_DOT3_RGBA 

Definition at line 219 of file SbEnums.h.