MCPcopy Create free account
hub / github.com/Panzerschrek/Chasm-Reverse / SetTexture

Method SetTexture

PanzerChasm/client/software_renderer/rasterizer.cpp:859–869  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

857}
858
859void Rasterizer::SetTexture(
860 const unsigned int size_x,
861 const unsigned int size_y,
862 const uint32_t* const data )
863{
864 texture_size_x_= size_x;
865 texture_size_y_= size_y;
866 max_valid_tc_u_ = ( texture_size_x_ << 16 ) - 1;
867 max_valid_tc_v_ = ( texture_size_y_ << 16 ) - 1;
868 texture_data_= data;
869}
870
871void Rasterizer::SetLight( const fixed16_t light )
872{

Callers 7

DrawWeaponMethod · 0.80
DrawWallSegmentMethod · 0.80
DrawFloorsAndCeilingsMethod · 0.80
DrawModelMethod · 0.80
DrawSkyMethod · 0.80
DrawEffectsSpritesMethod · 0.80
DrawBMPObjectsSpritesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected