update deprecations for c3 0.7.9
This commit is contained in:
parent
e7356df5d1
commit
e59190d353
@ -171,7 +171,7 @@ enum GPUTextureFormat : inline CInt {
|
||||
GPU_TEXTUREFORMAT_ASTC_12X12_FLOAT
|
||||
}
|
||||
|
||||
typedef GPUTextureUsageFlags = uint;
|
||||
typedef GPUTextureUsageFlags @constinit = uint;
|
||||
|
||||
const GPUTextureUsageFlags GPU_TEXTUREUSAGE_SAMPLER @builtin = (1 << 0);
|
||||
const GPUTextureUsageFlags GPU_TEXTUREUSAGE_COLOR_TARGET @builtin = (1 << 1);
|
||||
@ -205,7 +205,7 @@ enum GPUCubeMapFace : inline CInt {
|
||||
GPU_CUBEMAPFACE_NEGATIVEZ
|
||||
}
|
||||
|
||||
typedef GPUBufferUsageFlags = uint;
|
||||
typedef GPUBufferUsageFlags @constinit = uint;
|
||||
|
||||
const GPUBufferUsageFlags GPU_BUFFERUSAGE_VERTEX @builtin = (1 << 0);
|
||||
const GPUBufferUsageFlags GPU_BUFFERUSAGE_INDEX @builtin = (1 << 1);
|
||||
@ -225,7 +225,7 @@ enum GPUShaderStage : inline CInt {
|
||||
GPU_SHADERSTAGE_FRAGMENT
|
||||
}
|
||||
|
||||
typedef GPUShaderFormat = uint;
|
||||
typedef GPUShaderFormat @constinit = uint;
|
||||
const GPUShaderFormat GPU_SHADERFORMAT_INVALID @builtin = 0;
|
||||
const GPUShaderFormat GPU_SHADERFORMAT_PRIVATE @builtin = (1 << 0);
|
||||
const GPUShaderFormat GPU_SHADERFORMAT_SPIRV @builtin = (1 << 1);
|
||||
@ -364,7 +364,7 @@ enum GPUBlendFactor : inline CInt {
|
||||
GPU_BLENDFACTOR_SRC_ALPHA_SATURATE
|
||||
}
|
||||
|
||||
typedef GPUColorComponentFlags = char;
|
||||
typedef GPUColorComponentFlags @constinit = char;
|
||||
const GPUColorComponentFlags GPU_COLORCOMPONENT_R @builtin = (1 << 0);
|
||||
const GPUColorComponentFlags GPU_COLORCOMPONENT_G @builtin = (1 << 1);
|
||||
const GPUColorComponentFlags GPU_COLORCOMPONENT_B @builtin = (1 << 2);
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
module sdl3::sdl;
|
||||
|
||||
typedef Keycode = uint;
|
||||
typedef Keycode @constinit = uint;
|
||||
|
||||
|
||||
const Keycode K_EXTENDED_MASK @builtin = (1 << 29);
|
||||
|
||||
@ -5,7 +5,7 @@ typedef PenID = uint;
|
||||
const MouseID PEN_MOUSEID @builtin = ((MouseID)-2);
|
||||
const TouchID PEN_TOUCHID @builtin = ((TouchID)-2);
|
||||
|
||||
typedef PenInputFlags = uint;
|
||||
typedef PenInputFlags @constinit = uint;
|
||||
|
||||
const PenInputFlags PEN_INPUT_DOWN @builtin = (1 << 0);
|
||||
const PenInputFlags PEN_INPUT_BUTTON_1 @builtin = (1 << 1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user