Capycore Engine  0.1.0
A simple and lightweight game engine written in C++ based on the Unity API architecture.
Loading...
Searching...
No Matches
Texture Class Referencefinal

Represents a texture used in rendering game objects. Encapsulates an SDL_Texture and provides access to its dimensions. More...

#include <texture.h>

Public Member Functions

float width () const
 
float height () const
 

Friends

class Renderer
 
class RenderingManager
 
class AssetService
 
class SdlSpriteStrategy
 
class SdlImageStrategy
 

Detailed Description

Represents a texture used in rendering game objects. Encapsulates an SDL_Texture and provides access to its dimensions.

Member Function Documentation

◆ height()

float Texture::height ( ) const

◆ width()

float Texture::width ( ) const

Friends And Related Symbol Documentation

◆ AssetService

friend class AssetService
friend

◆ Renderer

friend class Renderer
friend

◆ RenderingManager

friend class RenderingManager
friend

◆ SdlImageStrategy

friend class SdlImageStrategy
friend

◆ SdlSpriteStrategy

friend class SdlSpriteStrategy
friend

The documentation for this class was generated from the following file: