Add renderer stuff
This commit is contained in:
@@ -57,6 +57,24 @@ enum PrimitiveType
|
||||
PT_TRIANGLES
|
||||
};
|
||||
|
||||
enum TextureWrap
|
||||
{
|
||||
TW_REPEAT,
|
||||
TW_MIRROREDREPEAT,
|
||||
TW_CLAMPTOEDGE,
|
||||
TW_CLAMPTOBORDER
|
||||
};
|
||||
|
||||
enum TextureFilter
|
||||
{
|
||||
TF_NEAREST,
|
||||
TF_LINEAR,
|
||||
TF_NEARESTMIPMAPNEAREST,
|
||||
TF_LINEARMIPMAPNEAREST,
|
||||
TF_NEARESTMIPMAPLINEAR,
|
||||
TF_LINEARMIPMAPLINEAR
|
||||
};
|
||||
|
||||
// Base structure for render view (view and projection matrices, viewport settings)
|
||||
struct View
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user