Whatewver
This commit is contained in:
28
src/display/texture/palettetexture.h
Normal file
28
src/display/texture/palettetexture.h
Normal file
@@ -0,0 +1,28 @@
|
||||
/**
|
||||
* Copyright (c) 2026 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "dusk.h"
|
||||
|
||||
typedef struct {
|
||||
|
||||
} palettetexture_t;
|
||||
|
||||
/**
|
||||
* Initializes a palette texture.
|
||||
*
|
||||
* @param texture The palette texture to initialize.
|
||||
* @param width The width of the texture. Must be a power of 2.
|
||||
* @param height The height of the texture. Must be a power of 2.
|
||||
* @param data The palette index data for the texture.
|
||||
*/
|
||||
void paletteTextureInit(
|
||||
palettetexture_t *texture,
|
||||
const int32_t width,
|
||||
const int32_t height,
|
||||
const uint8_t *data
|
||||
);
|
||||
Reference in New Issue
Block a user