+
- Sign
and you can add custom tabs or predefined tabs and also remove themtig
is a nice command-line interface for this we
support others
i mean we already do support other servers.. with the internet tabwe
support others
i mean we already do support other servers.. with the internet tab size_t CCommandProcessorFragment_GLBase::TexFormatToImageColorChannelCount(int TexFormat)
{
if(TexFormat == CCommandBuffer::TEXFORMAT_RGBA)
return 4;
return 4;
}
size_t CCommandProcessorFragment_GLBase::TexFormatToImageColorChannelCount(int TexFormat)
{
if(TexFormat == CCommandBuffer::TEXFORMAT_RGBA)
return 4;
return 4;
}
the
I typed yes
enum EImageFormat
type for image format literals and variables.
Add PixelSize
function to get the number of bytes/color channels per pixel for a specified image format.
Remove unused store format argument of texture loading functions. All textures are automatically being stored as RGBA, so the argument was unused. Also remove the therefore unused FORMAT_AUTO
.
Rename variables consistently to PixelSize
and use size_t
, instead of mixing different names like BPP
and `Col...#[allow(clippy::cast_precision_loss)]
fn color_code_base(col: u32, alpha: bool) -> HSLAColor {
let a = if alpha {
((col >> 24) & 0xFF) as f32 / 255.0f32
} else {
1.0f32
};
let x = ((col >> 16) & 0xFF) as f32 / 255.0f32;
let y = ((col >> 8) & 0xFF) as f32 / 255.0f32;
let z = (col & 0xFF) as f32 / 255.0f32;
HSLAColor { x, y, z, a }
}