16#define NEBULA_WHOLE_BUFFER_SIZE (-1)
17#define NEBULA_ALL_MIPS (-1)
18#define NEBULA_ALL_LAYERS (-1)
127 for (i = 0; i < components.
Size(); i++)
319#define SHADER_POSTEFFECT_DEFAULT_FEATURE_MASK "Alt0"
322#define NEBULA_GRAPHICS_DEBUG 1
323#define NEBULA_MARKER_BLUE Math::vec4(0.8f, 0.8f, 1.0f, 1.0f)
324#define NEBULA_MARKER_RED Math::vec4(1.0f, 0.8f, 0.8f, 1.0f)
325#define NEBULA_MARKER_GREEN Math::vec4(0.8f, 1.0f, 0.8f, 1.0f)
326#define NEBULA_MARKER_DARK_GREEN Math::vec4(0.6f, 0.8f, 0.6f, 1.0f)
327#define NEBULA_MARKER_DARK_DARK_GREEN Math::vec4(0.5f, 0.7f, 0.5f, 1.0f)
328#define NEBULA_MARKER_PINK Math::vec4(1.0f, 0.8f, 0.9f, 1.0f)
329#define NEBULA_MARKER_PURPLE Math::vec4(0.9f, 0.7f, 0.9f, 1.0f)
330#define NEBULA_MARKER_ORANGE Math::vec4(1.0f, 0.9f, 0.8f, 1.0f)
331#define NEBULA_MARKER_TURQOISE Math::vec4(0.8f, 0.9f, 1.0f, 1.0f)
332#define NEBULA_MARKER_GRAY Math::vec4(0.9f, 0.9f, 0.9f, 1.0f)
333#define NEBULA_MARKER_BLACK Math::vec4(0.001f)
334#define NEBULA_MARKER_WHITE Math::vec4(1)
336#define NEBULA_MARKER_COMPUTE NEBULA_MARKER_BLUE
337#define NEBULA_MARKER_GRAPHICS NEBULA_MARKER_GREEN
338#define NEBULA_MARKER_TRANSFER NEBULA_MARKER_RED
344 #define COREGRAPHICS_TRIANGLE_FRONT_FACE_CCW (1)
346 #define NEBULA_TICK_GROUP 0
347 #define NEBULA_FRAME_GROUP 1
348 #define NEBULA_PASS_GROUP 2
349 #define NEBULA_BATCH_GROUP 3
350 #define NEBULA_INSTANCE_GROUP 4
351 #define NEBULA_SYSTEM_GROUP 5
352 #define NEBULA_DYNAMIC_OFFSET_GROUP 6
353 #define NEBULA_NUM_GROUPS (NEBULA_DYNAMIC_OFFSET_GROUP + 1)
355 #define MAX_INPUT_ATTACHMENTS 32
357 #define SHADER_MODEL_5 (1)
359 #define NEBULA_VULKAN_DEBUG (1)
361 #define NEBULA_VULKAN_DEBUG (0)
363 #define PROJECTION_HANDEDNESS_LH (0)
365 #define VK_DEVICE_SIZE_CONV(x) uint64_t(x)
367 #define VK_DEVICE_SIZE_CONV(x) uint32_t(x)
A pass describe a set of textures used for rendering.
Nebula's dynamic array class.
Definition array.h:60
const SizeT Size() const
get number of elements in array
Definition array.h:880
void __cdecl n_error(const char *msg,...)
This function is called when a serious situation is encountered which requires abortion of the applic...
Definition debug.cc:138
Acceleration structures are used to enable ray tracing on the GPU by dividing the scene into a BVH.
Definition accelerationstructure.h:24
ImageLayout
Definition config.h:97
@ DepthStencilRenderTexture
QueryType
Definition config.h:52
@ TimestampsQueryType
Definition config.h:55
@ NumQueryTypes
Definition config.h:56
@ StatisticsQueryType
Definition config.h:54
@ OcclusionQueryType
Definition config.h:53
const char * QueueNameFromQueueType(const QueueType type)
Definition config.h:166
QueueType
Definition config.h:40
@ ComputeQueueType
Definition config.h:42
@ NumQueueTypes
Definition config.h:46
@ InvalidQueueType
Definition config.h:48
@ SparseQueueType
Definition config.h:44
@ GraphicsQueueType
Definition config.h:41
@ TransferQueueType
Definition config.h:43
ShaderVisibility
Definition config.h:60
@ AllGraphicsVisibility
Definition config.h:67
@ InvalidVisibility
Definition config.h:61
@ VertexShaderVisibility
Definition config.h:62
@ RayMissShaderVisibility
Definition config.h:74
@ RayGenerationShaderVisibility
Definition config.h:71
@ HullShaderVisibility
Definition config.h:63
@ ComputeShaderVisibility
Definition config.h:70
@ TaskShaderVisibility
Definition config.h:68
@ MeshShaderVisibility
Definition config.h:69
@ CallableShaderVisibility
Definition config.h:76
@ RayAnyHitShaderVisibility
Definition config.h:72
@ GeometryShaderVisibility
Definition config.h:65
@ RayIntersectionShaderVisibility
Definition config.h:75
@ DomainShaderVisibility
Definition config.h:64
@ RayClosestHitShaderVisibility
Definition config.h:73
@ AllVisibility
Definition config.h:77
@ PixelShaderVisibility
Definition config.h:66
uint ConstantBufferOffset
Definition config.h:21
bool PipelineStageWrites(const PipelineStage stage)
Definition config.h:290
PipelineStage PipelineStageFromString(const Util::String &str)
Definition config.h:246
ShaderPipeline
Definition config.h:111
@ ComputePipeline
Definition config.h:114
@ InvalidPipeline
Definition config.h:112
@ GraphicsPipeline
Definition config.h:113
@ RayTracingPipeline
Definition config.h:115
ImageBits
Definition config.h:82
BarrierDomain
Definition config.h:185
PipelineStage
Definition config.h:191
@ AccelerationStructureRead
@ AccelerationStructureWrite
QueueType QueueTypeFromString(const Util::String &str)
Definition config.h:153
ShaderVisibility ShaderVisibilityFromString(const Util::String &str)
Definition config.h:122
@ None
Definition resourceloader.h:51
#define __ImplementEnumComparisonOperators(type)
#define __ImplementEnumBitOperators(type)
This defines the macros for Nebula's RTTI mechanism (__DeclareClass, __ImplementClass,...
Nebula's universal string class.
Definition string.h:50
const char * AsCharPtr() const
return contents as character pointer
Definition string.h:542
SizeT Tokenize(const String &whiteSpace, Array< String > &outTokens) const
tokenize string into a provided String array (faster if tokens array can be reused)
Definition string.cc:203
unsigned int uint
Definition types.h:31
int IndexT
Definition types.h:48