mirror of
https://github.com/neverlosecc/source2sdk.git
synced 2025-01-23 05:45:59 +00:00
144 lines
4.2 KiB
C++
144 lines
4.2 KiB
C++
#pragma once
|
|
#include <cstdint>
|
|
#include "!GlobalTypes.hpp"
|
|
|
|
// /////////////////////////////////////////////////////////////
|
|
// Binary: rendersystemdx11.dll
|
|
// Classes count: 3
|
|
// Enums count: 5
|
|
// Created using source2gen - github.com/neverlosecc/source2gen
|
|
// /////////////////////////////////////////////////////////////
|
|
|
|
// Alignment: 4
|
|
// Size: 0x3
|
|
enum class RenderSlotType_t : uint32_t
|
|
{
|
|
RENDER_SLOT_INVALID = 0xffffffffffffffff,
|
|
RENDER_SLOT_PER_VERTEX = 0x0,
|
|
RENDER_SLOT_PER_INSTANCE = 0x1,
|
|
};
|
|
|
|
// Alignment: 4
|
|
// Size: 0x9
|
|
enum class RenderBufferFlags_t : uint32_t
|
|
{
|
|
RENDER_BUFFER_USAGE_VERTEX_BUFFER = 0x1,
|
|
RENDER_BUFFER_USAGE_INDEX_BUFFER = 0x2,
|
|
RENDER_BUFFER_USAGE_SHADER_RESOURCE = 0x4,
|
|
RENDER_BUFFER_USAGE_UNORDERED_ACCESS = 0x8,
|
|
RENDER_BUFFER_BYTEADDRESS_BUFFER = 0x10,
|
|
RENDER_BUFFER_STRUCTURED_BUFFER = 0x20,
|
|
RENDER_BUFFER_APPEND_CONSUME_BUFFER = 0x40,
|
|
RENDER_BUFFER_UAV_COUNTER = 0x80,
|
|
RENDER_BUFFER_UAV_DRAW_INDIRECT_ARGS = 0x100,
|
|
};
|
|
|
|
// Alignment: 4
|
|
// Size: 0x2d
|
|
enum class RenderPrimitiveType_t : uint32_t
|
|
{
|
|
RENDER_PRIM_POINTS = 0x0,
|
|
RENDER_PRIM_LINES = 0x1,
|
|
RENDER_PRIM_LINES_WITH_ADJACENCY = 0x2,
|
|
RENDER_PRIM_LINE_STRIP = 0x3,
|
|
RENDER_PRIM_LINE_STRIP_WITH_ADJACENCY = 0x4,
|
|
RENDER_PRIM_TRIANGLES = 0x5,
|
|
RENDER_PRIM_TRIANGLES_WITH_ADJACENCY = 0x6,
|
|
RENDER_PRIM_TRIANGLE_STRIP = 0x7,
|
|
RENDER_PRIM_TRIANGLE_STRIP_WITH_ADJACENCY = 0x8,
|
|
RENDER_PRIM_INSTANCED_QUADS = 0x9,
|
|
RENDER_PRIM_HETEROGENOUS = 0xa,
|
|
RENDER_PRIM_1_CONTROL_POINT_PATCHLIST = 0xb,
|
|
RENDER_PRIM_2_CONTROL_POINT_PATCHLIST = 0xc,
|
|
RENDER_PRIM_3_CONTROL_POINT_PATCHLIST = 0xd,
|
|
RENDER_PRIM_4_CONTROL_POINT_PATCHLIST = 0xe,
|
|
RENDER_PRIM_5_CONTROL_POINT_PATCHLIST = 0xf,
|
|
RENDER_PRIM_6_CONTROL_POINT_PATCHLIST = 0x10,
|
|
RENDER_PRIM_7_CONTROL_POINT_PATCHLIST = 0x11,
|
|
RENDER_PRIM_8_CONTROL_POINT_PATCHLIST = 0x12,
|
|
RENDER_PRIM_9_CONTROL_POINT_PATCHLIST = 0x13,
|
|
RENDER_PRIM_10_CONTROL_POINT_PATCHLIST = 0x14,
|
|
RENDER_PRIM_11_CONTROL_POINT_PATCHLIST = 0x15,
|
|
RENDER_PRIM_12_CONTROL_POINT_PATCHLIST = 0x16,
|
|
RENDER_PRIM_13_CONTROL_POINT_PATCHLIST = 0x17,
|
|
RENDER_PRIM_14_CONTROL_POINT_PATCHLIST = 0x18,
|
|
RENDER_PRIM_15_CONTROL_POINT_PATCHLIST = 0x19,
|
|
RENDER_PRIM_16_CONTROL_POINT_PATCHLIST = 0x1a,
|
|
RENDER_PRIM_17_CONTROL_POINT_PATCHLIST = 0x1b,
|
|
RENDER_PRIM_18_CONTROL_POINT_PATCHLIST = 0x1c,
|
|
RENDER_PRIM_19_CONTROL_POINT_PATCHLIST = 0x1d,
|
|
RENDER_PRIM_20_CONTROL_POINT_PATCHLIST = 0x1e,
|
|
RENDER_PRIM_21_CONTROL_POINT_PATCHLIST = 0x1f,
|
|
RENDER_PRIM_22_CONTROL_POINT_PATCHLIST = 0x20,
|
|
RENDER_PRIM_23_CONTROL_POINT_PATCHLIST = 0x21,
|
|
RENDER_PRIM_24_CONTROL_POINT_PATCHLIST = 0x22,
|
|
RENDER_PRIM_25_CONTROL_POINT_PATCHLIST = 0x23,
|
|
RENDER_PRIM_26_CONTROL_POINT_PATCHLIST = 0x24,
|
|
RENDER_PRIM_27_CONTROL_POINT_PATCHLIST = 0x25,
|
|
RENDER_PRIM_28_CONTROL_POINT_PATCHLIST = 0x26,
|
|
RENDER_PRIM_29_CONTROL_POINT_PATCHLIST = 0x27,
|
|
RENDER_PRIM_30_CONTROL_POINT_PATCHLIST = 0x28,
|
|
RENDER_PRIM_31_CONTROL_POINT_PATCHLIST = 0x29,
|
|
RENDER_PRIM_32_CONTROL_POINT_PATCHLIST = 0x2a,
|
|
RENDER_PRIM_COMPUTE_SHADER = 0x2b,
|
|
RENDER_PRIM_TYPE_COUNT = 0x2c,
|
|
};
|
|
|
|
// Alignment: 4
|
|
// Size: 0x4
|
|
enum class InputLayoutVariation_t : uint32_t
|
|
{
|
|
INPUT_LAYOUT_VARIATION_DEFAULT = 0x0,
|
|
INPUT_LAYOUT_VARIATION_STREAM1_INSTANCEID = 0x1,
|
|
INPUT_LAYOUT_VARIATION_STREAM1_INSTANCEID_MORPH_VERT_ID = 0x2,
|
|
INPUT_LAYOUT_VARIATION_MAX = 0x3,
|
|
};
|
|
|
|
// Alignment: 4
|
|
// Size: 0x8
|
|
enum class RenderMultisampleType_t : uint32_t
|
|
{
|
|
RENDER_MULTISAMPLE_INVALID = 0xffffffffffffffff,
|
|
RENDER_MULTISAMPLE_NONE = 0x0,
|
|
RENDER_MULTISAMPLE_2X = 0x1,
|
|
RENDER_MULTISAMPLE_4X = 0x2,
|
|
RENDER_MULTISAMPLE_6X = 0x3,
|
|
RENDER_MULTISAMPLE_8X = 0x4,
|
|
RENDER_MULTISAMPLE_16X = 0x5,
|
|
RENDER_MULTISAMPLE_TYPE_COUNT = 0x6,
|
|
};
|
|
|
|
// Alignment: 7
|
|
// Size: 0x38
|
|
struct RenderInputLayoutField_t
|
|
{
|
|
public:
|
|
uint8_t m_pSemanticName[32]; // 0x0
|
|
int32_t m_nSemanticIndex; // 0x20
|
|
uint32_t m_Format; // 0x24
|
|
int32_t m_nOffset; // 0x28
|
|
int32_t m_nSlot; // 0x2c
|
|
RenderSlotType_t m_nSlotType; // 0x30
|
|
int32_t m_nInstanceStepRate; // 0x34
|
|
};
|
|
|
|
// Alignment: 4
|
|
// Size: 0xc4
|
|
struct VsInputSignatureElement_t
|
|
{
|
|
public:
|
|
char m_pName[64]; // 0x0
|
|
char m_pSemantic[64]; // 0x40
|
|
char m_pD3DSemanticName[64]; // 0x80
|
|
int32_t m_nD3DSemanticIndex; // 0xc0
|
|
};
|
|
|
|
// Alignment: 1
|
|
// Size: 0x18
|
|
struct VsInputSignature_t
|
|
{
|
|
public:
|
|
CUtlVector< VsInputSignatureElement_t > m_elems; // 0x0
|
|
};
|
|
|