#include <stdbool.h>
#include <stdint.h>
#include <unordered_map>
#include <map>
#include <list>
#include <cstddef>
#include <vector>
#include <stack>
#include <string>
#include <string_view>
#include <memory>
#include "fast/lus_gbi.h"
#include "fast/types.h"
#include "fast/ucodehandlers.h"
#include "backends/gfx_rendering_api.h"
#include "fast/debug/GfxDebugger.h"
#include "fast/resource/type/Texture.h"
#include "ship/resource/Resource.h"
#include <compare>
Go to the source code of this file.
|
| namespace | Ship |
| | Core namespace for the libultraship engine framework.
|
| |
| namespace | Fast |
| |
|
| enum | {
SHADER_0
, SHADER_INPUT_1
, SHADER_INPUT_2
, SHADER_INPUT_3
,
SHADER_INPUT_4
, SHADER_INPUT_5
, SHADER_INPUT_6
, SHADER_INPUT_7
,
SHADER_TEXEL0
, SHADER_TEXEL0A
, SHADER_TEXEL1
, SHADER_TEXEL1A
,
SHADER_1
, SHADER_COMBINED
, SHADER_NOISE
} |
| |
| enum | Fast::Attribute {
Fast::MTX_PROJECTION
, Fast::MTX_LOAD
, Fast::MTX_PUSH
, Fast::MTX_NOPUSH
,
Fast::CULL_FRONT
, Fast::CULL_BACK
, Fast::CULL_BOTH
, Fast::MV_VIEWPORT
,
Fast::MV_LIGHT
} |
| |
◆ MAX_LIGHTS
◆ MAX_VERTICES
◆ SCREEN_HEIGHT
| #define SCREEN_HEIGHT 240 |
◆ SCREEN_WIDTH
◆ SHADER_FIRST_MASK_TEXTURE
| #define SHADER_FIRST_MASK_TEXTURE 2 |
◆ SHADER_FIRST_REPLACEMENT_TEXTURE
| #define SHADER_FIRST_REPLACEMENT_TEXTURE 4 |
◆ SHADER_FIRST_TEXTURE
| #define SHADER_FIRST_TEXTURE 0 |
◆ SHADER_MAX_TEXTURES
| #define SHADER_MAX_TEXTURES 6 |
◆ SHADER_OPT
| #define SHADER_OPT |
( |
|
opt | ) |
((uint64_t)(1 << static_cast<int>(ShaderOpts::opt))) |
◆ anonymous enum
| Enumerator |
|---|
| SHADER_0 | |
| SHADER_INPUT_1 | |
| SHADER_INPUT_2 | |
| SHADER_INPUT_3 | |
| SHADER_INPUT_4 | |
| SHADER_INPUT_5 | |
| SHADER_INPUT_6 | |
| SHADER_INPUT_7 | |
| SHADER_TEXEL0 | |
| SHADER_TEXEL0A | |
| SHADER_TEXEL1 | |
| SHADER_TEXEL1A | |
| SHADER_1 | |
| SHADER_COMBINED | |
| SHADER_NOISE | |
◆ gfx_cc_get_features()
| void gfx_cc_get_features |
( |
uint64_t |
shader_id0, |
|
|
uint64_t |
shader_id1, |
|
|
struct CCFeatures * |
cc_features |
|
) |
| |
◆ gfx_create_framebuffer()
| int gfx_create_framebuffer |
( |
uint32_t |
width, |
|
|
uint32_t |
height, |
|
|
uint32_t |
native_width, |
|
|
uint32_t |
native_height, |
|
|
uint8_t |
resize, |
|
|
bool |
forceFixedAspect = false |
|
) |
| |
◆ gfx_shader_cache_clear()
| void gfx_shader_cache_clear |
( |
| ) |
|
◆ gfx_texture_cache_clear()
| void gfx_texture_cache_clear |
( |
| ) |
|